Troubleshooting your Mac is key before taking it to the Apple Genius bar for assistance.
To set the sleep timer on Windows 10, you'll need to find and open your computer's "Power & Sleep" menu.