Windows

How to Enable or Disable Lock Computer in Windows 11

Richard
Written by
Richard
Mar 27, 2026 1 min read
How to Enable or Disable Lock Computer in Windows 11

This tutorial shows you how to turn the lock computer feature on or off for everyone in Windows 11.

Why Lock Your Computer?

Locking your computer keeps it safe when you step away. It protects your work without closing everything you have open. When you lock the computer, you go to the lock screen. You can then sign back in and pick up where you left off. Other users can still sign in from the sign-in screen if needed.

What Happens When You Disable Lock?

If you turn off the lock feature, users must sign out or shut down instead. When lock is disabled, the Lock option disappears from:

  • The Start menu
  • Power menus
  • Ctrl+Alt+Del screen
  • Alt+F4 Shut Down Windows locations

Important

You must be signed in as an administrator to enable or disable lock computer.

How to Enable Lock Computer for All Users

This is the default setting.

🗝️Registry
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DisableLockWorkstation /t REG_DWORD /d 0 /f

How to Disable Lock Computer for All Users

🗝️Registry
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DisableLockWorkstation /t REG_DWORD /d 1 /f

Summary

The lock feature in Windows 11 lets you protect your computer while keeping your work open. You can enable or disable this feature by changing a registry setting. Only administrators can make this change. When lock is disabled, users must sign out or shut down instead of locking the screen.

Was this guide helpful?

Tags: #Windows 11
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, the owner and lead writer at Geek Rewind, is a tech enthusiast passionate about simplifying complex IT topics. His years of hands-on experience in system administration and enterprise IT operations have honed his ability to provide practical insights and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2464 articles → Twitter

📚 Related Tutorials

How to Pin Android Apps to Windows 11 Start Menu
Windows How to Pin Android Apps to Windows 11 Start Menu
How to Add or Remove Apps from Windows 11 Start Menu
Windows How to Add or Remove Apps from Windows 11 Start Menu
How to Add Phone Link to Windows 11 Start Menu
Windows How to Add Phone Link to Windows 11 Start Menu
How to Customize the 'All' Apps View in Windows 11 Start Menu
Windows How to Customize the 'All' Apps View in Windows 11 Start Menu

Leave a Reply

Your email address will not be published. Required fields are marked *