are you able to immediately turn it back on? first thought would be to open the case, make sure it is dust free and run it with the case open to see if it still freezes.
Also you can try a restoring to a restore point prior to when the problem started. finally, try running in safemode and see if you are still having the issue.
Can anyone please tell me how to track down what might be the cause of my windows 10 desktop running 30 minutes since boot and then freezing up? This occurs irrespective of app in use. Thank you in advance.