So I'm assuming through the Control Panel.

Check that the setting has flowed through to the Win 10 Settings > Systems > Power & Sleep.

Disconnect/Disable the mouse and keyboard - does it work...