Apart from constant activity, you can change the settings to keep your system awake when not using it. Check out these steps for a fix. Click on start and search settings. Then under personalization, click on the lock screen. Look for the screen saver and open it. You will see a box beside text on resume, display logon screen. Uncheck the box.