Prevent sleep from being arbitrarily released
Prevent maintenance wakes
If you wake Windows but it is canceled in the middle of the night without permission, it may have been canceled by the maintenance feature. Here are the steps on how to disable that maintenance feature.
Open the charm by moving the mouse cursor to the lower right corner of the screen, and select "Settings".
Select Control Panel.
Select Check Computer Status.
Click the button to the right of the maintenance to expand the item and select Change Maintenance Settings.
Uncheck "Allow scheduled maintenance to wake the computer" and click the OK button.
Make sure that sleep is not canceled on its own.