Hi ,
I'm Dyari. Thanks for reaching out.
Since reinstalling Windows did not help, update your graphics driver from your computer or graphics card manufacturer’s official website, then restart.
Then, perform a clean boot
Open the game and test switching to the desktop and changing the volume. Restore normal startup afterward using the same guide.
If it still freezes, please tell me your Windows version, graphics card model, whether it happens in every game, and whether the whole computer freezes or only the game.