If you are facing this, do an update of both your graphics driver and your BIOS to their latest versions. In your “Power Plan” settings, you can as well change the “Put the Computer to Sleep” option to “Never”.