Hi ,
Sabya here, Independent Windows Adviser. Hope you are doing well.
Are you using a laptop or a desktop?
If you are using a desktop please make sure you are plugged into your RX 7700XT
If you are using a laptop you can disable your integrated graphics card so that the dedicated RX 7700XT is being always. The freezing generally occurs due to drivers. Please make sure your AMD graphics drivers are updated.