Android

How to Lock Apps on Android for Privacy

How to Lock Apps on Android for Privacy

Android has no single switch for locking an app, and what you end up with depends on the phone brand and the Android version. Most current phones already ship with something built in, so a Play Store locker is usually the fallback and not the first thing to try.

On Android 15 and later, that built-in option is Private Space. Samsung Galaxy phones use Secure Folder instead, and Xiaomi, OnePlus, Oppo and Huawei each have an App lock of their own.

How much they protect varies a lot. Locking Private Space stops the private profile, and its apps are hidden from the recents view, notifications, settings and other apps, per the Android Open Source Project. A brand App lock only gates the app. That’s why Xiaomi offers hiding notification content as a separate setting once the lock is on.

Can You Lock Individual Apps on Android?

YouTube player

Yes. Some phones ask for a pattern, PIN or fingerprint before one chosen app opens, and Xiaomi’s App lock works this way, with a pattern password and optional fingerprint unlock.

Others move the apps into a separate area with its own lock. Android’s Private Space is a sandboxed space separate from the main Android user, and Samsung protects Secure Folder with Samsung Knox.

The last route is a Play Store app that puts a prompt over other apps. On stock Android, nextpit calls a dedicated app lock app the best option left.

A screen lock only helps against people who pick up a locked phone. Once you’ve unlocked it and handed it over, an app lock is what’s still in the way.

Hiding an app isn’t the same as locking it. Hiding only takes the icon out of view (the steps for hiding apps from the launcher vary by brand), and a lock is what asks for authentication before any content shows.

Which App Lock Method Fits Your Phone?

YouTube player

Check what the phone already has before installing anything. Anything on Android 15 or later has Private Space, and Galaxy phones have Secure Folder. Xiaomi, OnePlus, Oppo and Huawei phones carry their own App lock.

MethodWhere it existsHides apps when lockedMain drawback
Private SpaceAndroid 15 and laterYes, apps vanish from viewOne per device
Secure FolderGalaxy models that support itOptional, the folder icon can be hiddenApps live as copies inside the folder
Brand App lockXiaomi, OnePlus, Oppo, HuaweiVaries by brandMenu path changes by version
Third-party lockerAny phone through Google PlayNoRelies on accessibility and usage-access permissions

The version split matters more than most guides admit. Android Authority’s October 2026 report, built on Android Studio data, puts Android 16 on 25.4% of active devices, Android 15 on 14.7% and Android 17 on 1%.

That adds up to about 41% of active devices on a release with Private Space. The other 59% rely on a brand feature or a third-party locker, and Google’s figures only cover devices that access the Google Play Store.

When two options exist, I’d pick the one that hides the app while it’s locked. Oppo’s App lock, for example, only adds a prompt before the app interface loads.

How to Lock Apps With Private Space on Android 15 and Later

YouTube player

Open Settings, tap Security & privacy, then Private space, and follow the setup. The Android site puts the same path first, and once the space exists it sits at the very bottom of the app drawer.

Google began rolling Android 15 out to Pixels on October 15, 2024, and Private Space arrived with it.

  1. Open Settings, go to Security & privacy, scroll down and tap Private space, then authenticate with your main screen lock.
  2. Tap Set up and sign in to a Google Account.
  3. Pick the lock. You can reuse the device screen lock or set a new PIN, pattern, password or fingerprint (a fingerprint still needs a PIN, pattern or password behind it).
  4. Open Private at the bottom of the app drawer and install the apps you want inside it.
  5. Turn on “Lock private space automatically” and “Hide private space when it’s locked” in the space’s settings if you want the container to disappear too.

When the space locks, the private profile user stops, and the apps disappear from the recents view, notifications, settings and other apps.

Android treats an app added to Private Space as a new install and copies no app data over, so expect to sign in again. That’s the annoying part. Since Android 16 QPR2, files can be moved or copied into the space.

Private Space exists once per device and only for the main user. On a work-managed phone it may not show up at all, since DISA’s Android 16 security guide requires admins to set “Disallow add private profile”. And it isn’t Pixel-only, because Sony and ASUS both publish Private space guides for their own phones.

How to Lock Apps on Samsung With Secure Folder

Samsung’s answer is Secure Folder, a locked container for apps and files. Setup needs a Samsung account and a lock type.

  1. Open Settings, then Security and privacy, then More security settings, then Secure Folder. If the entry is missing, the device does not support the feature.
  2. Tap Continue and sign in to your Samsung account.
  3. Select a lock type to protect the folder, then confirm it.
  4. Open Secure Folder, tap Add apps (the plus icon), pick an app and tap Add.
  5. To hide the folder itself, turn off “Add Secure Folder to Apps screen” in the Secure Folder settings.

What lands in the folder is a copy of the app, and an app downloaded directly into Secure Folder exists only there.

Lock types and auto-lock

The folder takes a PIN, password or pattern, plus fingerprint on supported devices. It also locks itself after a set period of inactivity. Some older models no longer support it.

Turn on “Reset with Samsung account” during setup. Skip it and a forgotten lock cannot be recovered, and the only way out is removing the folder and setting up a new one.

How to Use the Built-In App Lock on Xiaomi, OnePlus and Other Brands

Brand app locks live in Settings, but the menu name and location change with the skin and the version. Searching Settings for “app lock” beats memorizing a path.

Xiaomi, Redmi and POCO

Xiaomi’s own support pages describe the flow the same way across recent models.

  1. Go to Settings, then Apps, then App lock.
  2. Tap Turn on and set a pattern password.
  3. Add a Xiaomi Account or skip that step.
  4. Pick the apps to protect. App lock recommends the ones that need it on first run.
  5. Turn on fingerprint unlock if you want it.

Older builds, such as the one in the Xiaomi 12 manual, put App lock inside the Security app instead.

OnePlus

The OnePlus path has moved at least twice. Early OxygenOS had it under Settings, Security & Fingerprint, App Locker. By the OxygenOS 9 era the option had moved to Utilities under Settings, and OxygenOS 12 nested hidden apps, Private Safe and App Locker into one privacy section.

A built-in locker is not automatically bypass-proof. In 2017, 9to5Google reported that OxygenOS’s app locker could be passed on a phone with a third-party launcher installed, and OnePlus said it was working on a fix.

Oppo and Realme

On newer Oppo phones, open Settings, then Privacy (Security on older ones), then App Lock. The first time through, ColorOS asks you to set a privacy password. A pattern works, and so does a PIN or an alphanumeric password.

Realme menus sit close to Oppo’s but are named differently by skin version. AirDroid’s brand guide lists Realme and Oppo together under ColorOS.

Vivo and Huawei

On Funtouch OS, AirDroid lists Vivo’s lock as App Encryption under Settings, Privacy.

Huawei goes through Settings, then Security & privacy, then App lock. The setup asks for an App lock PIN and a security question, and offers face or fingerprint unlock if you set those up. Face and fingerprint support depends on the device model.

Older Huawei builds use Settings, Security, App Lock, then turn it on.

Are Third-Party App Lockers Worth the Permissions?

Rarely. Install one only when the phone has no built-in lock, because a locker needs powerful permissions to do its job.

The usual names are AppLock by DoMobile Lab, Norton App Lock, Smart AppLock and Vault. Most of them work by polling which app sits in the foreground and launching an overlay over anything on the protected list.

Usage access tells the locker which app is in front, and the user grants it from system settings, not through a runtime dialog. Display over other apps lets the lock screen draw itself on top of an existing app. Accessibility service is the one to worry about. It lets an app discover widgets on screen, query their content and interact with them programmatically.

Check what a locker asks for before granting anything, and skim how Android app permissions work if the prompts look unfamiliar.

The risk has a paper trail. Researchers at UC Santa Barbara and Georgia Tech showed in “Cloak and Dagger” that the overlay and accessibility permissions can be combined into stealthy attacks. In a simulated attack on 20 Android users, none noticed.

That work was presented at the 2017 IEEE Symposium on Security and Privacy. Google answered with policy. Apps targeting Android 12 that use the AccessibilityService API had to complete a Permission Declaration Form and receive Google Play approval starting November 3, 2021.

Google’s page lists antivirus software, automation tools, monitoring apps, password managers and launchers as apps that are not accessibility tools, and those apps must still complete the declaration. A locker asking for accessibility access sits in that same group.

Google Play Protect scans all apps on a device regardless of download source, and it scans devices once every day. That is a baseline, not a review of a locker’s permission list.

On the plus side, a locker is the best remaining option on stock Android, and it covers old Android versions that have no App lock feature. The costs are real, though. It needs usage access, an overlay permission and sometimes accessibility access, and that accessibility use has to get through Google Play’s declaration review. Integrated lockers are supposed to be harder to kill and faster, since they skip Accessibility Services and the Usage Statistics API (XDA Developers, 2017), which is one more reason to prefer the built-in one.

Already installed one you are unsure about? Check the phone for malware and revoke any permission you do not recognize.

Which Settings Stop Locked Apps From Leaking?

A locked app can still leak through its notification previews and its recents preview. How you unlock it and when it re-locks matter just as much. A lock that ignores those settings guards the app while its content leaks around it.

Unlock method

In Android’s tiered authentication model, PIN, pattern and password provide the highest level of security. Biometrics are graded below that. Android’s compatibility document sorts them into Class 3 (formerly Strong), Class 2 (formerly Weak) and Class 1 (formerly Convenience).

All of them share the same false acceptance rate of 1 in 50,000, per the Android Open Source Project’s biometric class table. What separates them is the spoof acceptance rate, which is capped at 0 to 7% for Class 3, 7 to 20% for Class 2 and 20 to 30% for Class 1. Android states that biometric integration depends on biometric security, not modality, so face unlock is not weaker by definition.

Phones rarely print the class of their sensor. Use a PIN for the apps that matter most and fingerprint for the rest.

Re-lock timing

Xiaomi’s App lock settings let you pick when an app re-locks, and the choices read like this.

  • When device is locked
  • When device is locked or after exiting the app
  • When device is locked or in 1 minute after exiting the app

With the first, a verified app stays open until the device locks again, which means anyone who grabs a still-awake phone gets in.

For banking apps and anything with private messages or photos, pick the second option.

Notification previews

On Xiaomi, App lock restricts who can open an app but does not automatically hide its notifications. In App lock, turn on the app and tap “Want to hide sensitive notifications?”

Samsung Secure Folder has “Show content” and “Hide content on lock screen” to control what its notifications reveal, and OnePlus’s App locker can hide notification content for an extra layer of security.

On any phone, Android can hide “sensitive content” in lock screen notifications. The notification still appears, but its content is hidden. On Samsung, the path is Settings, Notifications, Lock screen notifications.

Recents screen

The Xiaomi, Samsung and Huawei pages cited above are silent on the recents preview, so treat it as unprotected until you check.

An app that sets FLAG_SECURE, which blocks screenshots, also obscures its multitask preview, but you cannot set that flag for an app you did not build. The reliable habit is to close the app from the recents view after use.

When App Lock Stops Protecting Your Apps

App lock covers casual access and not much beyond that. A malicious app or a connected computer can get around it, and anyone who has your PIN walks straight in.

Private Space can be found in other ways. Google lists people who install apps on your phone, anyone who connects it to a computer (adb access included), apps that can detect the space and device logs. If the space reuses the device lock, anyone who can access your phone can unlock the hidden apps too.

Third-party lockers stop working when their access is revoked. Android’s compatibility document strongly recommends a user-accessible mechanism to grant or revoke usage access, and that switch works for whoever holds the unlocked phone.

Sources disagree on how far discovery goes. On a connected phone, adb shell dumpsys user lists a user named “Private space”, while nextpit found that files from the space are not listed over regular USB file transfer, even when it is unlocked.

Google says a connected computer may be able to reach the space. Detecting a space and reading it are not the same thing.

Give Private Space its own lock, so someone who knows the main screen lock still cannot get in, and remove any lockers you no longer use. Beyond that, treat the whole feature as a privacy layer for borrowed phones and casual snooping.

adb needs USB debugging switched on, and that switch sits in developer options. Leave it off on a phone that holds sensitive apps.

NHIMG’s Private Space guide says the same thing in its own words, advising readers to treat it as a privacy feature and not as an anti-forensics or isolation boundary.

When Screen Pinning, Guest Mode or a Work Profile Fits Better

Each of these restricts access to apps, but none of them puts one app behind its own prompt. Pick by what you are protecting and from whom.

ToolWhat it limitsWho controls it
Screen pinningKeeps the phone on one appYou
Guest profileGives a borrower an empty profileYou, as device owner
Work profileSeparates work apps and dataThe employer’s admin
App timerCaps daily time in one appYou

Screen pinning fits a quick handover. You can pin an app and hand your phone to a friend, and the friend can use only that app.

On Pixel, turn it on under Security & privacy, More security settings, App pinning. You can then require your PIN, pattern or password before unpinning.

For a longer loan, a guest profile works better. A guest does not have access to all of your information, and removing the guest deletes that guest’s data.

The guest profile is available on many phones, like Pixel and Nexus, but not on all Android phones. Adding or updating a user requires being the device owner.

A work profile is a different animal, since it protects the employer’s data and not yours. Administrators control work profiles, and an EMM can remotely lock and wipe the work profile. Keep personal apps out of it.

App timers manage time and have nothing to do with access. They reset at midnight, and deleting the timer lets you use the app again. The mechanics are covered in this guide to Digital Wellbeing on Android, and anyone holding the phone can delete a timer the same way.

If the goal is to stop an app opening at all, that is blocking rather than locking, and it has its own method in this walkthrough for blocking apps.

Common Questions About App Lock on Android

Can I lock apps on Android without installing anything?

Yes, on most current phones. Pixel and other phones on Android 15 or later have Private Space, Galaxy phones have Secure Folder, and Xiaomi, OnePlus, Oppo and Huawei ship their own App lock.

Stock Android without Private Space is the exception, where nextpit says a locker app from the Play Store is the best option left.

How do I remove an app lock?

Turn it off in the menu that set it. On Huawei, toggle an app off to cancel its lock, or disable App Lock to clear every lock and setting.

For Private Space, tap Delete private space under System, then confirm with your private space lock.

Do WhatsApp, Signal and Chrome have their own lock?

Yes. WhatsApp introduced its Android fingerprint lock on October 31, 2019. Signal’s Screen Lock uses your phone’s PIN, passphrase or biometric authentication, and Chrome can lock Incognito tabs, which you’ll find under Settings, Privacy and security, “Lock Incognito tabs when you leave Chrome”.

How do I lock apps on a child’s phone?

Use Google Family Link instead of an app lock. Parents can block or approve apps from Google Play, and system apps can’t have app limits placed on them.

The same setup lets you stop a child from downloading apps without your approval.

Why does a third-party locker stop working after a restart or update?

The locker runs as a background service, and battery management can stop it. Don’t Kill My App places Xiaomi’s MIUI in the most troubled group for background process limits.

Exempt the locker from battery optimization, then confirm its usage access and overlay permission are still granted.

Does Samsung have Private Space?

Not under that name. Samsung keeps Secure Folder, and One UI 8 reclassified it as a “private” profile, per Android Authority in July 2025.

The change fixed a flaw where the Photo Picker and Permission Controller could reveal which apps and photos sat inside the folder.

What Happens to Locked Apps on a New Phone?

A locked app does not carry its lock to a new phone. Secure Folder content moves only through Smart Switch, because Samsung ended Secure Folder backup and removed its restore option on Android 16 with One UI 8 or higher.

Google’s copy tool also skips data from apps that don’t use Android backup, so some locked apps arrive without their data.

Work in this order before wiping the old phone.

  1. Move files out of Secure Folder.
  2. Run Smart Switch or the Android copy tool.
  3. Set each lock again on the new phone.

The downside is that moved files sit unprotected until the last step. This order holds as of November 18, 2026, and a returning restore option on One UI 8 would change it.

The guide to transferring apps from one Android phone to another covers the copy itself.

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.