
You can change the power management plan by going to the battery settings.

It all has to do with the power management in the laptop.

Laptop Shuts Down When Playing Games Due to Overheating Using Power Management Settings However, there are many ways to fix laptop heat and shutdown during game. To make things worse, many laptops couldn’t stand the massive resource exhaustion during gameplay and ultimately they shutdown as a last report to cool themselves. Laptop heating problem has been plaguing the hardware market for decades. Laptop heat up and shuts down when playing games due to laptop overheat is the most common laptop question asked by thousands of users daily on forums.
