How to Lock Your OneDrive Personal Vault
Locking your OneDrive Personal Vault (a secure folder that needs extra verification like a fingerprint or security code) keeps your private files safe when you step away from your PC. While the folder locks automatically after 20 minutes of inactivity, you can also lock it manually in two clicks whenever you need to.
Setup requires a Microsoft account with two-step verification turned on. This security feature asks you to approve sign-ins on your phone before you can access the vault.
Open OneDrive, click on the Personal Vault folder, and select the “Lock” option. Confirm your choice to immediately lock your Personal Vault and protect your files.
Go to Your Personal Vault
Open OneDrive and navigate to your Personal Vault folder. Unlocking the folder first may be necessary if it currently sits in a locked state.

Select the “Lock” Option
Locate the “Lock” button near the top of the interface once the folder opens. Click that button to secure the contents immediately.


Confirm Locking
A confirmation prompt may appear before the vault locks. Verification steps will be required again the next time access to those files is needed.
Automatic Locking and Inactivity Settings
Background timers protect files by sealing the vault after 20 minutes of inactivity. Shared hardware, public workstations, and private machines all benefit equally from this automatic defense.
Understanding Auto-Lock Times
Personal Vault auto-lock times vary depending on the device you are using to access your files. On the OneDrive website, your vault locks automatically after 20 minutes of inactivity. If you use the mobile app on your phone or tablet, the app locks your vault much faster after just 3 minutes of inactivity to keep your private files safe.
- On the Web (onedrive.com): Your Personal Vault usually locks after about 20 minutes of not doing anything. If you don't click anything or use your files for 20 minutes, it will lock.
- On Mobile Devices (OneDrive App): The auto-lock time is often shorter on phone apps, usually around 3 minutes of no activity. This is because phones can be lost more easily or someone else might grab them.
Adjusting Auto-Lock Settings
Adjusting auto-lock settings for your OneDrive Personal Vault lets you change how long your files stay open before locking. You can find these preferences through the OneDrive cloud menu on your computer or inside the app settings on your mobile device. Changing this time helps you balance convenience and security based on how often you step away from your screen.
- Access OneDrive Settings: On your computer, click the little OneDrive cloud icon in your taskbar (usually in the bottom-right corner). Then, click the gear icon (Settings) and choose "Settings." On your phone, open the OneDrive app, tap the "Me" icon (usually at the bottom), and then select "Settings."
- Find Personal Vault Settings: Look for a section called "Account" or "Personal Vault." Inside this section, you should see options for the auto-lock or inactivity timer for your Personal Vault.
- Choose Your Time: You'll probably see a list or a dropdown menu where you can pick a different time for how long your Personal Vault stays unlocked. Choose a time that works for you, balancing convenience and security. Longer times mean you won't have to unlock it as often, but it also means there's a longer chance for someone to access it if your device is not secure.

Reference:
https://support.microsoft.com/en-US/onedrive/protect-your-onedrive-files-in-personal-vault
Summary
Inactivity triggers automatic locks across web browsers and mobile apps after 20 or 3 minutes respectively. Timeout durations are fully adjustable in the settings menu, and manual locking remains available at any moment.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!