Windows 11 Lock Screen Official

Dynamic Lock automatically locks your PC when your Bluetooth-paired phone is out of range. If it's not working, go to > Accounts > Sign-in options , scroll to Dynamic lock , and ensure the feature is enabled.

Press Windows Key + L . This immediately locks the screen. windows 11 lock screen