Because all PCs have built-in temperature detection, if the computer gets too hot according to its range, it will react accordingly. When the computer freezes and completely locks up to the point where nothing is doable and the option to properly shut down isn’t available, this could be the result of PC overheating problems as well.