Disable all non-microsoft extensions, restart, and see if you still have an issue. If not, then slowly enable one, restart, see if you have an issue. If not, enable another and repeat. Keep repeating until the issue surfaces and the you will know which extension is causing you issues.
Alternatively, totally uninstalls VS 2022, then reinstall and do not add any extensions. Does it still freeze?
Another possibility is your AntiVirus software as mentioned here:
https://stackoverflow.com/a/73046542/327541[
^]