App lock restricts access to the open application window on the device you are using. Session management lists devices that can access your account. Locking this device does not cancel the other sessions. If you see a device you do not recognise, check the device details and use the session controls before leaving the list open.

Steps
Set up the application lock
Open Security in the Windows application's settings. Enable App lock if it is available and follow its verification steps. Use the lock when stepping away from your computer. On a shared device, sign out if you do not want your account to stay signed in.
Review active sessions
Open device sessions under Security in Account Centre or the app. The device name, operating system and recent activity can help identify a session. Another browser on the same computer may create a separate entry. Check the session details before acting.
Close sessions you no longer use
Select the session you want to close. If you use the option to end all other sessions, read which devices it affects before confirming. Close access from devices you lost or no longer control. Keep your current session available while you review the list.
Check the result and update account security
Reload your sessions after the operation and check the device status. If you see activity that is not yours, change the account password on a device you trust and review two-step verification. Support can investigate using the device label or timing.
If something does not work as expected
A session label may differ from your computer's retail name. Think about which browsers and devices you used recently. If the session remains unfamiliar, use the session control and password change tools.
If you cannot unlock the application, follow the lock screen's recovery or sign-out option. A local app lock and the account sign-in can use different verification steps. Keep passwords and codes out of support messages.
Frequently asked questions
Does closing the window sign me out?
Your session preference and the Windows app's background state can affect what happens. Use Sign out to end the account session.
Does signing out delete my account?
Sign out ends a session. Account deletion requires a separate request.