Laptops (especially in game state) usually work long hours and are very hot (many laptops don't have a good cooling system),So this may be a hardware issue
But before you try fix it, I suggest you try ↓
I suggest you install the intel graphics driver first, then install the AMD graphics driver.
In addition, I also recommend that you view the report of the Windows Event Viewer.
If you don't know how to open it, click the Magnifier icon in the lower left corner, type "run" and type "eventvwr" in a new window.