To lock photos on Android with their own password, move them into a space with a separate lock: Secure Folder on Samsung, Safe folder in Files by Google on any phone, Private Space with a new lock on Android 15 and later, or a vault app. Google Photos' Locked Folder and Samsung's new Private album open with your normal screen lock – anyone who knows your phone PIN gets in. And a “gallery lock” app only puts a PIN screen in front of the Gallery; the photo files themselves stay unencrypted.
Locking, hiding and encrypting are three different things
- An app lock puts a password prompt in front of an app such as the Gallery. The photos stay where they were.
- Hiding removes photos from the gallery view. The files are still on the phone and visible to file managers.
- A locked space moves the files into a protected area with its own lock – Secure Folder, Safe folder, Private Space or a vault app. Some of these also encrypt the files.
Then there's the second question: which code opens it – your phone's screen lock, or a separate PIN? If someone already knows your phone PIN, only the second kind keeps them out.
Every built-in way compared
| Method | Opens with | Encryption (as stated) | Forgot the code |
|---|---|---|---|
| Google Photos Locked Folder | Phone screen lock | “Standard encryption practices” | Same as your phone lock |
| Samsung Private album (One UI 8.5) | Phone screen lock | Not documented | Not documented |
| Samsung Secure Folder | Own PIN, password or pattern | Samsung Knox; optional Encrypt | Only with “Reset with Samsung account” |
| Files by Google Safe folder | Own PIN or pattern | “Android storage with encryption” | Files can't be opened |
| Android Private Space (15+) | Screen lock or its own lock | Not mentioned | Delete the space – data lost |
| Xiaomi App lock / Private album | Own password | Not mentioned | Xiaomi account, else factory reset |
| Motorola Secure folder | Own PIN, pattern or password | Not mentioned | Delete the folder and its files |
| Gallery lock app | Own PIN | Photos not encrypted | Depends on the app |
Samsung: Secure Folder (own PIN)
- Set it up. Settings > Security and privacy > More security settings > Secure Folder. Choose a PIN, password or pattern – Samsung describes it as a space “with its own key”.
- Turn on “Reset with Samsung account”. Samsung says that without it, you can't get into Secure Folder if you forget the code.
- Move photos in. In Gallery, touch and hold the photos > More > Move to Secure Folder.
- Know the backup limits. Samsung US says new Secure Folder backups are no longer supported; Smart Switch can still move it to a new Galaxy phone.
Samsung's Private album, new with One UI 8.5 on selected Galaxy phones, is quicker – Gallery > Menu > Private album – but Samsung says it is protected by your device's screen lock, and it doesn't document encryption, backup or what happens if you forget the lock. Samsung has no documented app lock for the Gallery itself.
Samsung Secure Folder: setup, backup and limits →
Any Android phone: Safe folder in Files by Google
- Open Safe folder. In Files by Google, go to Collections > Safe folder and choose a PIN or pattern. Google says it can be different from your device lock.
- Move photos in. Select the files > More > Move to Safe folder. To take them out again: open Safe folder > More > Move out of Safe folder.
- Accept the trade-offs. There's no Google Drive backup and no sharing from inside, and Google warns: if you forget your PIN or pattern, you can't access your files.
Google says Safe folder uses Android storage with encryption and that other apps can't open its files – but also that someone who gains unauthorised access to the phone's internal storage may be able to reach them.
Google Photos Locked Folder: convenient, but no separate password
In Google Photos, Collections > Locked > Set up Locked Folder; to add photos, select them > Add to > Move to Locked Folder. Items vanish from search, albums and other apps. But Google is clear: “Your Locked Folder password is the same as your device screen lock.” Without Back up Locked Folder turned on, the photos exist only on that phone.
Google Photos Locked Folder: setup, backup and limits →
Android 15 and later: Private Space with its own lock
Settings > Security & privacy > Private space > Set up, then choose Choose new lock rather than Use device screen lock. Add photos with + Add > Add files, choosing Move so the originals leave your main profile. If you forget that lock, Google says you can't get in – you can only delete the space with everything in it. Private Space isn't included in device backups.
Android Private Space explained →
Xiaomi, OnePlus and Motorola
- Xiaomi: Settings > Apps > App lock locks the Gallery with a separate password. For the Private album, select photos > three dots > Add to album > Private album; its password is set under Fingerprints, face data, and screen lock > Privacy protection password. A forgotten App lock password can only be recovered with your Xiaomi account, otherwise after a factory reset.
- OnePlus: Settings > Privacy > Privacy protection offers App lock and Private Safe, a “virtual lockbox” for images, videos and documents, behind a privacy password (OnePlus Open manual; menus vary by version).
- Motorola: Moto Secure or Settings > Security & privacy > More security & privacy > Secure folder, with its own pattern, PIN or password of 4 to 16 characters. Forget it and you have to delete the folder and its files.
What a “gallery lock” or “photo locker” app really does
Two kinds of apps use these names. App lockers put a PIN screen over the Gallery: AppLock, one of the best-known, says it uses Android's accessibility service to notice which app is in front, and device administrator rights to stop intruders uninstalling it. Its listing makes no encryption claim.
Because a locker only guards the app, the photos stay in shared storage. Android's developer documentation says other apps with media permission can read shared media files, and over a USB cable an unlocked phone shows its files on a computer. Even Google's own App lock, tested in Android betas and pulled again from Beta 6 in September 2026, “doesn't separately encrypt the app”, as Privacy Guides put it.
The other kind are vault apps that move photos into their own storage. They differ a lot: some encrypt, some only hide. Check what each one says it encrypts before you trust it.
App lock on Android: what it protects and what it doesn't →
Photo vault apps for Android compared →
Privora is a vault, not an app lock: photos you import are encrypted with AES-256-GCM, file names included, behind a password that is separate from your phone's screen lock. Privora on Google Play →
Can you password-protect a folder on Android?
Not a normal folder – Android's help pages describe no such feature. The options are the locked spaces above or an encrypted archive. ZArchiver, for example, can create password-protected 7z and zip archives (its listing doesn't name the cipher); on a computer, 7-Zip offers AES-256 encryption in 7z and ZIP. The catch: to look at a photo you have to extract it, and the extracted copy sits unprotected in normal storage until you delete it.
“My phone is encrypted” – why that isn't enough
Every phone that launched with Android 10 or later uses file-based encryption. It protects your photos while the phone is off or hasn't been unlocked since a restart – for example if it's stolen. Once you unlock it, the data is available to the system and apps, so device encryption does nothing against someone using your unlocked phone. Germany's BSI adds that the screen lock doesn't protect a removable SD card.
Where Privora fits
Privora is our app, so here is only what its store listing says. You import photos, videos, documents and notes into a vault with its own password; files, thumbnails and file names are encrypted with AES-256-GCM, and the password is stretched with Argon2id. Fingerprint or pattern unlock is a shortcut on that phone only; after a restart the password is needed. After import, Privora helps you delete the originals from the gallery. We can't reset your password, so you write down a recovery key. Privora is new and hasn't been independently audited yet, and it can't protect a rooted or compromised phone.
Frequently asked questions
How do I lock photos on Android with a password?
Move them into a space with its own lock: Samsung Secure Folder (PIN, password or pattern), Files by Google Safe folder (PIN or pattern that can differ from your device lock), Android 15+ Private space with 'Choose new lock', or a vault app. Google Photos Locked Folder and Samsung's Private album only use your phone's screen lock.
Can I set a separate password for Google Photos Locked Folder?
No. Google: 'Your Locked Folder password is the same as your device screen lock.'
Is a gallery lock app the same as encrypting my photos?
No. An app lock only puts a prompt in front of the app; it doesn't encrypt the files. Photos in shared storage remain accessible to other apps with media permission. Even Google's own (unreleased) App lock 'doesn't separately encrypt the app from the rest of your data'.
Can I password protect a folder on Android?
Not a normal folder. Use a locked container – Samsung Secure Folder, Files by Google Safe folder, Private space, Motorola Secure folder – or put the files in a password-protected archive (e.g. ZArchiver can create password-protected 7z/zip archives).
My phone is encrypted – aren't my photos already protected?
Only while the phone is locked or off. Android's file-based encryption makes app data available 'only after the user has unlocked the device'; once unlocked, anyone using the phone can see the photos unless they're behind a separate lock.
What happens if I forget the PIN for my locked photos?
It depends: Files by Google Safe folder – files can't be accessed and resetting deletes them; Private space – no access, you can only delete it; Motorola Secure folder – delete the folder and its files; Samsung Secure Folder – recoverable only if 'Reset with Samsung account' was turned on; Xiaomi App lock – via Xiaomi account, otherwise factory reset.
Sources
- Google (Google Photos Help) – Hide sensitive photos & videos in Locked Folders (Android)
- Google (Files by Google Help) – Safe folder in Files by Google
- Google Play (listing) – Files by Google
- Google (Android Help) – Hide sensitive apps with private space
- Samsung US (Support) – Use Secure Folder on your Galaxy phone
- Samsung Newsroom (global) – Your Privacy, Secured: Inside the Tech Powering Safe, Personalized Galaxy AI Experiences
- Samsung India (Support) – How to use Private album in Gallery app on the Galaxy devices
- Samsung Australia (Support) – How do I send Photos & Videos to my Private Album on the Galaxy S26?
- GIGA (Fabian Strackerjan) – Wer ein Samsung-Handy hat, sollte diese Galerie-Einstellung anpassen
- Xiaomi (mi.com Global FAQ) – How to enable App lock function on the Xiaomi 14T?
- Xiaomi (mi.com Malaysia FAQ) – How to make and check the private photos on the Xiaomi 14T?
- Xiaomi Deutschland (mi.com/de FAQ) – Wie aktiviere ich die App-Sperrfunktion auf dem Redmi 13C?
- OnePlus (official user manual PDF) – OnePlus Open User Manual
- Motorola Help – Protect apps in a secure folder - moto g67
- 9to5Google – Here's everything new in Android 17 QPR2 Beta 6 + 6.1
- Privacy Guides (Fria Reyes) – Android Will Allow You to Lock Any App Behind Your Fingerprint or PIN
- Android Developers – Data and file storage overview
- Android Developers – Access media files from shared storage
- Google (Android Help) – Transfer files between your computer & Android device
- Android Open Source Project – File-based encryption
- 7-Zip (Igor Pavlov) – 7-Zip homepage
- Google Play (listing) – ZArchiver
- Google Play (listing) – RAR (RARLAB)
- BSI – Bundesamt für Sicherheit in der Informationstechnik – Verschlüsselung auf mobilen Geräten
- Google Play (listing) – AppLock (com.domobile.applockwatcher)
- Samsung Deutschland (Support) – Wie nutze ich den Sicheren Ordner?
From Google, Samsung, Xiaomi, OnePlus and Motorola help pages, Android and AOSP documentation, the BSI, Google Play listings and tech press, checked on 19 November 2026. Menus differ between phones and software versions. Privora is our own app.


