1. Click the magnifying glass icon in the bottom-left corner of your screen. This is next to the Windows 10 logo.
2. Then type power & sleep into the search bar and click Open. You can also hit Enter on your keyboard.
3. Finally, click the drop-down box under Sleep and change it to Never. Your computer will not enter sleep mode anymore. You can also choose to adjust the number of minutes it takes before your computer goes to sleep after becoming idle.