To turn off your Roku, you'll probably need to unplug it. The only exceptions are the Roku 4 and Roku TV, which you can turn off regularly.
It's possible to turn off sleep mode on Windows 10, or adjust the time it takes for it to turn on. Here's how to do it.