On the Windows home screen, click the magnifying glass to start a search
Type the phrase "Power Settings"
Open the Power & Sleep Settings window
Under "Sleep" -> "When plugged in, PC goes to sleep after", click the drop-down and scroll down to "Never"
That's it!