It could be that for some reason it is overheating when you try to do anything demanding. Try some software called SpeedFan to check the temperatures.
I'm not sure if your PC would freeze, but it could be the power supply unit (PSU) which has broken, and when components demand more power, it cannot handle it.
Post your temperature results please from SpeedFan!