Hi @Leonc it could be a number of factors but here is a proven solution from similar threads:
1. Go to Photoshop Preferences/Performance and turn off Use Graphics Processor - did it stop freezing? If so
2. Go to Photoshop Help Menu/System Info and copy/paste details here. That will help determine what about your graphics card could be causing the issue.