How to Turn On or Off Dynamic Lock to Auto-Lock Your Windows 11 PC
Dynamic Lock automatically locks your Windows 11 PC when you step away from it.
This helpful security feature uses your phone’s Bluetooth connection to know when you’ve left your computer unattended. Windows 11 automatically locks your PC once your phone’s Bluetooth signal is out of range, typically around 30 feet.
To use Dynamic Lock, you first need to pair your phone with your PC through Bluetooth. Once paired, Windows 11 keeps an eye on that connection.
You can easily turn this automatic locking feature on or off directly within your Windows 11 settings.
Go to Settings > Accounts > Sign-in options. Expand Dynamic Lock and check the box to enable automatic locking when you leave, or uncheck it to disable. This feature uses your paired Bluetooth phone to lock your PC when you move out of range.
What Is Dynamic Lock?
Windows 11 Dynamic Lock is a handy feature that automatically locks your PC when you step away. It uses your phone’s Bluetooth to tell when you’re gone, helping to keep your personal files and information safe without you needing to remember to lock it yourself. This helps prevent unauthorized access if you happen to forget to lock your computer manually.
Preventing unauthorized access to your PC is crucial. If you forget to manually lock Windows 11 before stepping away, Dynamic Lock automatically secures the device. This feature uses Bluetooth to detect when your paired phone moves out of range, then triggers a lock to keep your data safe.
Before You Start
- Make sure your PC has Bluetooth turned on.
- Pair your phone with your PC using Bluetooth first. You can follow Microsoft’s guide here: How to Pair Bluetooth Devices in Windows 11
How to Turn On or Off Dynamic Lock in Settings
- Open Settings. Press
Windows key + Ion your keyboard. - Click on Accounts on the left side menu.
- Click Sign-in options on the right.
- Scroll down and find Dynamic lock. Click to expand it.
- Check the box next to “Allow Windows to automatically lock your device when you’re away” to turn it on. Uncheck it to turn it off.
You can turn Windows 11 Dynamic Lock on or off right in your PC’s settings. First, open Settings by pressing the Windows key and ‘I’ on your keyboard together. Then, go to Accounts, click on Sign-in options, and find Dynamic lock to make your choice.
Here is how it looks in Settings:

Find Dynamic Lock under Sign-in options.

Check this box to enable Dynamic Lock.
Optional: Turn On or Off Dynamic Lock Using a Registry File
If you’re comfortable working with the Windows Registry, you can enable or disable Dynamic Lock quickly by running these commands. ⚠️ Admin privileges required
To Turn On Dynamic Lock
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v EnableGoodbye /t REG_DWORD /d 1 /fTo Turn Off Dynamic Lock (Default Setting)
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v EnableGoodbye /t REG_DWORD /d 0 /fWhy Use Dynamic Lock?
Using Windows 11 Dynamic Lock is a smart way to keep your computer secure without any extra effort. It automatically locks your PC using your phone’s Bluetooth when you walk away, ensuring your files are protected. This means you don’t have to worry about forgetting to lock your computer, giving you peace of mind.- Protect Your PC: Automatically locks when you walk away, keeping your files safe.
- Simple to Use: Just pair your phone and turn on the feature.
- Works with Bluetooth: Uses your phone’s Bluetooth connection to know when you are gone.
- Convenient: No need to remember to lock your PC manually every time.
More Help and Info
Learn more about sign-in options and security on Windows 11 from Microsoft:
Summary
Windows 11 Dynamic Lock is a helpful feature that automatically locks your PC when you leave it, using your phone’s Bluetooth to know when you’re gone.
Is dynamic lock necessary?
Windows 11 Dynamic Lock isn’t strictly necessary, but it’s a useful security feature that automatically locks your PC when you step away and forget.
Why can't I turn on dynamic lock?
Press ⊞ Win+I to open Settings. Go to Accounts > Sign-in options. Scroll down to the Dynamic Lock section and ensure the checkbox is selected for “Allow Windows to lock your device when you're away automatically.” Ensure your smartphone or Bluetooth device is listed under paired devices.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips 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.
No comments yet — be the first to share your thoughts!