Once there, review the settings before you and see if Sleep Mode has been set to launch after an extremely short period of inactivity, like one minute. This can be accessed by clicking on the Cortana icon (the circle or search bar beside your Start Menu button) and typing 'Power and Sleep Settings' into the bar that appears. Adjustments to Sleep Mode can be found in your Window Power and Sleep Settings.