You can modify your Windows sleep settings with the following steps:
- Open up search by hitting the Windows Key + Q shortcut.
Type "sleep" and select "Choose when the PC sleeps".
- You should see two options:
- Screen: Configure when the screen goes to sleep.
- Sleep: Configure when the PC will hibernate.
- Set the time for both using the drop-down menus.
If you're using a laptop, there are actually four options that fall into two categories: one for when you're on battery and the other for when you're plugged in. The former will see Windows 10 act accordingly when the PC is draining the battery, while the latter will affect times when you're plugged into an outlet. These should be altered so you can get the most out of the available power.