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 leave it. This security feature uses your paired Bluetooth phone to detect when you’re no longer nearby.
To turn on Dynamic Lock, you’ll first pair your phone with your PC using Bluetooth. Once paired, Windows 11 monitors the Bluetooth connection.
When your phone’s Bluetooth signal drops out of range (usually about 30 feet), Windows 11 automatically locks your device. You won’t even need to lift a finger to secure it. You can toggle this feature on or off in 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 walk away, keeping your files safe.
No one else can use your PC if you forget to lock it before leaving.
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.
Turning Dynamic Lock on or off in Windows 11 is simple and can be done right from your PC’s Settings menu.
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 using registry files, 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 /fNote: Editing the registry can cause problems if done wrong. Be sure to back up your registry before making changes.
Why Use Dynamic Lock?
Using Windows 11 Dynamic Lock is a great way to keep your computer safe because it automatically locks your PC when you walk away.- 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!