Assuming you have the latest correct driver installed for the video card or integrated GPU...
I'd run a memory test to make sure that the RAM is running healthy using memtest86
https://www.memtest86.com/Check temperatures of your system to make sure its not roasting and then doing this at a critical thermal condition. Speedfan works as a helpful temperature tool if you dont already have one.
http://www.almico.com/sfdownload.phpAlso look in windows event logs to see if any complaints are there to point finger to a piece of hardware such as delayed read/write which would indicate a drive issue. as well as you can test the drive heath of SSD and HDD's with Crystaldiskinfo
https://osdn.net/projects/crystaldiskinfo/downloads/68126/CrystalDiskInfo7_1_1.zip/Remove video card and run off of integrated video if that is an option and see if the problem goes away. If your already running off of integrated video this isnt available as a troubleshooting means.
Make sure cooling fans on video card if you have a video card installed are spinning and not clogged with dust.
Lastly it can be power supply related or motherboard. If power supply related swapping power supply would correct for this. Power supply health can be tested at a computer repair shop, however most will just swap between a known good power supply. If a voltage runs on the low side it can cause freeze ups, black outs, and stuff like what you see with the messed up frozen state. Motherboard would be the very last option.
Some questions:
What Make/Model is this computer? If custom built, then all the specs of what you have with model # for motherboard etc.
Which OS are you running and is it a authentic or cracked version? ( Cracked OS's are generally flawed and thats why I ask )