The Dynamic lock is a helpful security feature built into Windows 11 that allows your computer to lock itself automatically whenever you walk away from it. Dynamic lock locks your computer when a connected Bluetooth device like your phone or headset etc is out of range. Dynamic lock uses any connected device with Bluetooth but it's better to use a device with a good amount of battery and range. Once the connected device is out of reach for 30 seconds Windows will lock the screen automatically.