Skip to content
Back to Knowledge Base
Privacy & Security4 min read·November 28, 2026

App Lock Not Working on Android? 10 Fixes (Samsung, Xiaomi, OnePlus)

App lock not showing, not opening or letting apps through? 10 real fixes for Android, from battery optimization and missing permissions to Xiaomi autostart.

Android phone settings showing app lock permissions being fixed, with Lockly app lock

You locked your apps, and then someone opened one anyway. Or the lock screen shows up late, or not at all. An app lock that stops working is almost always caused by Android shutting it down in the background or a missing permission.

Here are 10 fixes, in the order most likely to help.

Quick answer: Most app locks stop working because Android's battery saver closes them in the background, or because a permission (Usage access, Accessibility or Display over other apps) was turned off. Set the app lock's battery use to Unrestricted, turn its permissions back on, and on Xiaomi, OPPO and Vivo allow Autostart. If WhatsApp's own app lock isn't showing, add a fingerprint to your phone first.

1. Turn off battery optimization for the app lock

This fixes most problems. Android closes apps it thinks you aren't using, including your lock.

  1. Go to Settings > Apps > your app lock.
  2. Tap Battery.
  3. Choose Unrestricted (or "Don't optimize").

2. Check Usage access

App locks use this to know which app just opened.

  1. Settings > search Usage access (Special app access).
  2. Turn it on for your app lock.

3. Check Display over other apps

This lets the lock screen appear on top of the app you opened.

  1. Settings > Apps > Special app access > Display over other apps.
  2. Allow it for your app lock.

4. Check Accessibility (if your app lock uses it)

Some app locks use Accessibility to react faster. Android can switch it off after an update or a crash.

  1. Settings > Accessibility > Installed apps (or Downloaded services).
  2. Turn your app lock back on.

5. Samsung: remove it from Sleeping apps

  1. Settings > Battery > Background usage limits.
  2. Make sure your app lock isn't in Sleeping apps or Deep sleeping apps.
  3. Add it to Never sleeping apps.

6. Xiaomi, Redmi and POCO: allow Autostart

  1. Open Security (or Settings > Apps > Manage apps) > your app lock.
  2. Turn on Autostart.
  3. Set Battery saver to No restrictions.
  4. In recent apps, pull the app lock down to lock it so it isn't cleared.

OPPO, Realme, Vivo and OnePlus have similar settings, often called Allow auto launch or Allow background activity.

7. Don't swipe it away

Clearing all recent apps can close the lock on some phones. Lock it in recents (long-press or pull down on its card) where your phone allows.

8. Check the re-lock setting

If the lock only appears sometimes, your app lock may wait before re-locking. Set it to re-lock immediately when you leave the app or the screen turns off.

9. Split screen and pop-up windows

Some app locks can't cover an app opened in split screen or a floating window. Close split screen, or lock the apps that let you open others in a window.

10. Update everything

Update the app lock, the locked app and your phone's software. After a big Android update, open your app lock once so it can ask for any permissions it lost.

App lock not showing in WhatsApp?

WhatsApp's own lock (Settings > Privacy > App lock) needs a fingerprint set up on your phone. No fingerprint, no option. Update WhatsApp, add a fingerprint in Android settings, or use an app lock with a PIN. See how to lock WhatsApp with a password.

Built-in lock keeps failing? Try Lockly

If your phone's built-in app lock keeps letting people through, Lockly is built to keep running:

  • Its setup asks for each permission it needs, one at a time, so nothing is missed.
  • Uninstall protection stops anyone removing it.
  • Lock Settings so nobody can switch its permissions off. See how to lock Settings and Play Store.
  • Intruder selfie shows if someone tried.
  • Works on Android 16 and on tablets.

Free with ads, or Lockly Premium for $9.99 a year with no ads. Worried about the permissions? Read is app lock safe?.

FAQ

Why is my app lock not working on Samsung?

Usually Samsung's battery settings put it to sleep. Add your app lock to Never sleeping apps and set its battery use to Unrestricted.

Why is my app lock not opening?

The app may have crashed or lost a permission after an update. Restart your phone, update the app and re-check Usage access and Display over other apps.

Why does my app lock take a second to appear?

The lock needs a moment to notice the app opened. Turning off battery optimization makes it faster.

Why is app lock not showing in WhatsApp?

WhatsApp's app lock needs a fingerprint set up on the phone. Without one, the option is hidden.

Can someone get past an app lock?

A good app lock is hard to bypass if its permissions stay on, Settings is locked and uninstall protection is turned on.

Get your lock working again

Nine times out of ten, it's battery optimization or a missing permission. Fix those, and your lock stays put.

Still stuck? Download Lockly on Google Play and follow its setup, then apply fixes 1, 5 and 6 above to Lockly too.

lockly logo

Experience Lockly: App Locker Today

Lockly provides robust, effortless privacy protection for your mobile applications using PIN codes, geometric patterns, and instant fingerprint biometrics.