How to lock your gallery on Android, and why it isn’t enough
Lock your gallery with your phone’s app lock, Android’s Private space or an app locker, and see what a gallery lock still leaves open.
· 6 min read
Locking your gallery sounds like the obvious way to keep private photos private, and on most Android phones it takes a minute. But a gallery lock protects the gallery app, not your photos. Here are the ways to lock your gallery on Android, and what a lock still leaves open.
Option 1: your phone's built-in app lock
Many Android phones can lock individual apps with a PIN, pattern or fingerprint, including models from Xiaomi, Redmi, POCO, vivo, OPPO, realme and OnePlus. The feature goes by different names, such as App lock, App locker or App encryption, and sits in a different menu on each brand.
The quickest way to find it: open Settings, tap the search bar and type app lock. Turn it on for your gallery app, and for Google Photos if you use it.
Option 2: Android's Private space
On many phones with Android 15 or later, Private space is a separate, locked area for apps. While it's locked, the apps inside are hidden from your app list, recent apps and the photo picker, and they can't show notifications. You can give it its own lock or use your screen lock.
To set it up, open Settings → Security & privacy → Private space (the path varies by phone). Then install a gallery or camera app inside it and keep your private photos there.
Two things to know before you rely on it: Google says a private space isn't restored from a device backup, and if you forget its lock, you can't get back in. Resetting it deletes everything inside.
Option 3: Samsung Secure Folder
On Samsung Galaxy phones, Secure Folder plays a similar role: a separate space with its own lock and its own copy of apps such as Gallery. Photos you move into it disappear from your main gallery. Our guide to hiding photos on Android covers it in more detail.
Option 4: an app locker
App lockers from the Play Store put a lock screen in front of any app you choose. They work on any phone, but they need broad permissions to watch which app you open, and some are easy to get around. Restarting a phone in safe mode, for example, switches off third-party apps, app lockers included. Some vault apps disguise themselves instead, which has limits of its own: see calculator vault apps.
What a gallery lock doesn't protect
A gallery lock stops someone from opening one app. Your photos are still ordinary files on your phone, and plenty of other things can reach them:
- Other apps. Chat apps, social apps and anything with photo access can show your photos in their own pickers, and so can Android's photo picker. WhatsApp, for one, saves chat photos to your gallery unless you turn that off.
- File managers. Any file manager can browse your camera folder and open the photos directly.
- Other gallery apps. Lock one gallery and another, such as Google Photos, still shows the same photos unless you lock it too.
- A computer. Connect an unlocked phone to a computer and every photo can be copied off it.
- Cloud backups. Photos backed up to the cloud can be seen wherever that account is signed in.
That's fine if all you want is to stop someone scrolling through your gallery while they borrow your phone. It's not enough for photos that must stay private.
Protecting the photos themselves
To keep a photo private from every app, it has to leave the shared gallery and stop being an ordinary file. That's what a vault does. Hidey, for example, encrypts the photos and videos you choose on your phone, checks each encrypted copy, then deletes the originals, so other apps have nothing they can open. The vault has its own PIN or password, separate from your phone's screen lock.
A gallery lock and a vault work well together: lock the gallery against casual snooping, and keep the photos that really matter in the vault. If you're weighing up Google's built-in option, see Locked Folder vs a vault app, and our explainer on whether a vault really encrypts shows what to check before you trust one.