Skip to content
Follow
Windows 🟡 Intermediate

How to turn On or Off Dynamic Lock to Automatically Lock Windows 11

Richard
Written by
Richard
Mar 9, 2026 Updated Sep 14, 2026 7 min read
How to Turn On or Off Dynamic Lock to Auto-Lock Your Windows 11 PC
How to Turn On or Off Dynamic Lock to Auto-Lock Your Windows 11 PC

Dynamic Lock is a built-in Windows 11 feature that automatically locks your PC when you walk away by tracking your phone’s Bluetooth signal. It pairs your phone with your computer so your screen stays unlocked while you are nearby, but locks itself roughly 30 to 60 seconds after your phone moves out of Bluetooth range.

Advertisement

You need to pair your phone to your Windows 11 PC via Bluetooth before you can use this feature. Setting up Dynamic Lock takes less than two minutes through the main Settings app on your computer.

⚡ Quick Answer

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.

Advertisement

What is Dynamic Lock?

Windows 11 Dynamic Lock is a feature that automatically locks your computer when you walk away. It uses your phone’s Bluetooth connection to know when you’re gone. When your phone moves out of Bluetooth range, Windows locks your PC to keep it safe from others.

This is useful if you often get up from your desk. Instead of remembering to press Win+L, you can rely on your PC locking itself.

Important Note: Dynamic Lock needs Bluetooth . Make sure Bluetooth is turned on for both your Windows 11 PC and your smartphone, and that they are paired together.

Setting Up Dynamic Lock Through Windows Settings

This is the standard way to set up Dynamic Lock. Everything you need is in your PC’s settings.

Advertisement

Step 1Open Windows Settings

Press the Windows key + I on your keyboard. Or, click the Start button and then click the Settings gear icon.

Windows 11 Start menu with Settings gear icon highlighted.
Windows 11 Start menu with Settings gear icon highlighted.

Step 2Go to Accounts and Sign-in Options

In the Settings window, click on Accounts on the left side. On the right side, find and click on Sign-in options.

Windows 11 Sign-in options screen showing security settings.
Windows 11 Sign-in options screen showing security settings.

Step 3Configure Dynamic Lock

To configure Windows 11 Dynamic Lock, find the Dynamic lock section on the Sign-in options page. To turn it ON, check the box that says "Allow Windows to automatically lock your device when you're away." To turn it OFF, uncheck that same box.

  • To turn Dynamic Lock ON: Check the box that says "Allow Windows to automatically lock your device when you're away."
  • To turn Dynamic Lock OFF: Make sure the box next to "Allow Windows to automatically lock your device when you're away" is NOT checked. This is how it is set by default.
Windows 11 Dynamic Lock settings screen showing pairing options.
Windows 11 Dynamic Lock settings screen showing pairing options.

Step 4Close Settings

Once you've adjusted the settings for Windows 11 Dynamic Lock, you can close the Settings window. The feature will become active or inactive based on your choice the next time you leave your PC with your paired phone. It is helpful to test it by walking away and seeing if your PC locks.

Advertisement

Practical Tip: After you turn on Dynamic Lock, test it. Pair your phone, then walk away from your PC. Wait a minute or two, and check if your PC has locked itself. This confirms the Bluetooth connection is working and the feature is on.

⚠️WarningDynamic Lock works best when your Bluetooth connection is strong and your phone is within range.

If your Bluetooth is weak or your phone is too close when you leave, it might not lock. If the Bluetooth signal is very strong, you might need to walk a bit further away than you think for it to lock.

Understanding Dynamic Lock Through the Windows Registry (Advanced Users)

For advanced users, you can manage Windows 11 Dynamic Lock settings directly through the Registry Editor (a tool for viewing and changing system configuration settings). This method requires caution, as incorrect changes can cause system issues. The setting is controlled by a specific value within the registry, and knowing how to find or create it allows for manual configuration.

The Dynamic Lock setting is controlled by a specific value in the Windows Registry. Here's how to find or create it.

Advertisement

Accessing the Registry Editor

Press Windows key + R, type regedit, and press Enter to open the Registry Editor. If a User Account Control message appears, click Yes. It's wise to back up your registry before making any changes.

To open the Registry Editor:

  1. Press Windows key + R to open the Run box.
  2. Type regedit and press Enter, or click OK.
  3. If a User Account Control (UAC) message appears, click Yes.

Registry Path and Value for Dynamic Lock

The setting for Dynamic Lock resides here:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Inside this location, look for a value called EnableGoodbye. It should be a DWORD (32-bit) Value type, which is a common data type for registry entries.

Advertisement

Turning Dynamic Lock ON via Registry

To turn on Windows 11 Dynamic Lock using the Registry Editor, navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon. Look for a DWORD value named EnableGoodbye. If it is missing, right-click any blank space in the right pane, select New DWORD (32-bit) Value, and name it EnableGoodbye.

  1. Go to the registry path: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
  2. In the right-hand side, look for a DWORD value named EnableGoodbye.
  3. If it's not there, right-click in the empty space on the right side, select New DWORD (32-bit) Value, and name it EnableGoodbye.
  4. Double-click on the EnableGoodbye value to change it.
  5. In the "Value data" box, type 1.
  6. Make sure the "Base" is set to Hexadecimal.
  7. Click OK.
  8. Close the Registry Editor.

A Value data of 1 means Dynamic Lock is turned on.

Turning Dynamic Lock OFF via Registry

To turn off Windows 11 Dynamic Lock via the Registry Editor, go to HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon. Find the EnableGoodbye DWORD value (create it if it's missing). Double-click it and set the Value data to 0 and make sure the Base is set to Hexadecimal. This action disables the Dynamic Lock feature.

  1. Go to the registry path: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
  2. In the right-hand side, look for a DWORD value named EnableGoodbye.
  3. If it's not there, you can create it as described above.
  4. Double-click on the EnableGoodbye value to change it.
  5. In the "Value data" box, type 0.
  6. Make sure the "Base" is set to Hexadecimal.
  7. Click OK.
  8. Close the Registry Editor.

A Value data of 0 means Dynamic Lock is turned off. This is the default setting.

Advertisement
⚠️WarningChanging the Windows Registry incorrectly can cause serious problems with your computer.

Be very careful and consider backing up your registry before making any changes.

Pairing Your Phone with Your 🪟 Windows 11 PC

For Dynamic Lock to work, your phone and PC must be connected via Bluetooth. If they aren't already paired, here's how:

Step 1Turn on Bluetooth

Make sure Bluetooth is on for both your Windows 11 PC and your smartphone. You can usually find this in your PC's Settings app under Bluetooth & devices, or in your phone's quick settings menu.

Step 2Add a Device on Your PC

On your Windows 11 PC:

Advertisement
  1. Go to Settings (Windows key + I).
  2. Click on Bluetooth & devices.
  3. Click on Add device.
  4. In the "Add a device" window, select Bluetooth.
Windows 11 Bluetooth and devices settings with add device option.
Windows 11 Bluetooth and devices settings with add device option.

Step 3Make Your Phone Discoverable

On your smartphone, go to its Bluetooth settings and make sure it can be seen by other devices (discoverable or visible). The exact steps depend on your phone model and operating system (Android or iOS).

Step 4Select Your Phone on Your PC

Your PC will look for nearby Bluetooth devices. When your phone shows up in the list on your PC, click on it.

Step 5Finish Pairing

To finish pairing your phone for Windows 11 Dynamic Lock, check that the pairing code shown on both your PC and phone matches. Accept the pairing request on both devices. Once successfully paired, your phone will appear in the list of connected devices on your PC, ready for Dynamic Lock to work.

Practical Tip: Keep your phone's Bluetooth turned on all the time if you plan to use Dynamic Lock often. Also, make sure your phone is close enough to your PC when you're using it so the connection stays strong.

Summary

Windows 11 Dynamic Lock is a security feature that automatically locks your PC when you step away, using your phone's Bluetooth. This means you don't have to remember to lock it yourself. You can turn this feature on or off in Windows Settings under Accounts Sign-in options. Remember, Bluetooth must be on for it to work.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

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.

Advertisement

📚 Related Tutorials

How to Enable or Disable Bluetooth in Windows 11
Windows How to Enable or Disable Bluetooth in Windows 11
How to Turn Allow Bluetooth Devices to find this PC On or Off in Windows 11
Windows How to Turn Allow Bluetooth Devices to find this PC On or Off in Windows 11
How to find Bluetooth Settings in Windows 11
Windows How to find Bluetooth Settings in Windows 11
How to Change Your Windows 11 Lock Screen Status
Windows How to Change Your Windows 11 Lock Screen Status

No comments yet — be the first to share your thoughts!

Leave a Comment

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