| Applies to | Android 6 or later for Locked Folder; Android 15 for Private Space |
|---|---|
| Time needed | About 5 minutes per route |
| Cost | Free, built into Google and Samsung software |
| Needs | A screen lock on the phone |
| Last verified | November 2026 |
Four ways to lock a folder on Android
Android has no single folder lock. Four built-in routes cover most phones: Safe folder in Files by Google, Locked Folder in Google Photos, Private Space on Android 15 and Samsung Secure Folder. Pick by phone model and by what you are locking.
Before you move anything into a lock, copy it to a place the lock cannot delete: a PC or your cloud account. Then move the files in, test opening them, and only then delete the copy you no longer need.
Safe folder in Files by Google: step-by-step
Safe folder protects any file type with a PIN or pattern that is separate from your screen lock. It suits documents, PDFs and downloads as well as pictures.
- Open Files by Google
Install it from Google Play if the phone does not have it, then open Browse.
- Open Safe folder
Scroll to Safe folder and choose a PIN or pattern when asked.
- Move the files in
Select the folder’s files, open the menu and choose the move option. A move removes the original.
- Test the lock
Close the app, reopen Files and confirm the PIN is requested. Check Gallery for stray copies.
Forgetting the PIN means the files cannot be reached, and a reset deletes them. Keep the second copy first, as the Android password-protected folder walkthrough also advises.
Google Photos Locked Folder: what it does and where it fails
Locked Folder keeps photos and videos behind the device screen lock and out of search, memories and other apps. It is the quickest option when the pictures already live in Google Photos.
Move items in from the library or the camera. Anything not backed up lives only on that phone, and Google says it is lost if you uninstall Photos, clear its data or lose the device. The photo locking walkthrough shows the screens in detail.
For files that are not images, switch to Safe folder. Locked Folder will not take a PDF.
Private Space and Samsung Secure Folder
Both routes create a second area on the phone with its own lock, where apps and their data live separately. They suit someone who wants a whole set of apps and files out of sight, not just one folder.
Private Space needs Android 15 and a phone maker that supports it. Secure Folder is Samsung’s equivalent and needs a Samsung account; see the guide to finding Secure Folder on Galaxy phones. Neither moves automatically to a new phone, so plan to set the space up again and restore data from your own backup.
| Route | Locks | Lock type | Main limit |
|---|---|---|---|
| Safe folder | Any file | Own PIN or pattern | Forgotten PIN deletes files |
| Locked Folder | Photos and videos | Screen lock | Lost with the app if not backed up |
| Private Space | Apps and data | Own lock | Android 15 only, maker may skip |
| Secure Folder | Apps and files | Own lock | Galaxy phones only |
| Verdict | Safe folder for files, Locked Folder for photos |
Which built-in route fits which phone
Match the route to the phone before you start. Pixel and most other brands rely on Google’s apps, Samsung adds its own, and only newer phones can use Private Space.
- Pixel and most non-Samsung phones: Safe folder for files, Locked Folder for photos.
- Samsung Galaxy: Secure Folder, plus the two Google options if you prefer them.
- Any phone on Android 15 or later: check Settings, Security and privacy for Private Space.
- Older phones below Android 6: none of these may work, so consider a vault app.
A screen lock is the base layer for all four. Without one, Locked Folder cannot protect anything and Samsung will not let you set up Secure Folder. Set a six-digit PIN or a password first, then add the folder lock on top. Mixing routes is fine, but keep a note of which route holds which files, or you will spend an evening searching the wrong place.
If a phone is shared with family, give the lock a code that no one else guesses, and avoid fingerprints that other users have registered. A folder lock is a privacy aid for everyday situations, not protection against someone with unlimited time and the phone in their hands.
Questions about locking a folder on Android
Use Files by Google. Open it, go to Browse, choose Safe folder, set a PIN or pattern and move the files in. Photos and videos can instead go in Google Photos Locked Folder. Both are built by Google, and neither needs a third-party download.
Open Settings, then Security and privacy, and look for Secure Folder. Galaxy phones ask you to sign in with a Samsung account and choose a lock. If the entry is missing, the phone model may not include it. Install steps vary by One UI version.
No. Private Space arrived with Android 15, and phone makers decide whether to include it. Check Settings, Security and privacy for a Private Space entry. If it is absent, use Safe folder or Locked Folder instead.
Google states that you cannot reach the files without the PIN, and resetting it deletes what is inside. Keep a second copy of anything important on a PC or in cloud storage before you rely on the folder.
No. Google says items in Locked Folder stay out of the main photo grid, memories, search and other apps. Items you have not backed up exist only on that device, so a lost phone means lost files.
No. A hidden folder can still be opened by anyone who finds it, while a locked folder asks for a PIN, pattern or password. Use a lock for anything private and treat hiding as a cosmetic extra.
Where to go next
If you want the calculator disguise instead of a plain lock, the main guide covers the setup. For app options, see the folder lock apps compared. To hide files by folder name, the hide files and folders on Android page covers that separate task. Questions: contact the developer.