---
title: "Discussion on \"Windows 10 - Stop PC going to sleep after locking machine\" | Hashnode"
description: "Discussion on \"Windows 10 - Stop PC going to sleep after locking machine\". Occasionally I'll be running a script on my local machine that may take a few hours to complete. Sometimes i'll need to leave my desk and of course have to lock my machine.\n\nNormally I always configure power settings not to put my PC to sleep for 2 h..."
url: "https://hashnode.com/posts/windows-10-stop-pc-going-to-sleep-after-locking-machine/65b009661caef42d39f76471"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Windows 10 - Stop PC going to sleep after locking machine](https://itsallinthecode.com/windows-10-stop-pc-going-to-sleep-after-locking-machine?utm_source=hashnode&utm_medium=feed)

Occasionally I'll be running a script on my local machine that may take a few hours to complete. Sometimes i'll need to leave my desk and of course have to lock my machine. Normally I always configure power settings not to put my PC to sleep for 2 h...

Mar 18, 2019 · 2 min read · itsallinthecode.com  
Read the article

## Written by

[Rob](https://hashnode.com/@itsallinthecode)

@itsallinthecode

  
[View profile](https://hashnode.com/@itsallinthecode)

Automating

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
