Forgot App Lock Password? How to Reset It on Xiaomi, OPPO, Vivo, Realme and OnePlus
Locked out of your own apps? Brand-by-brand steps to reset a forgotten app lock password on Xiaomi, Redmi, OPPO, Realme, Vivo, OnePlus, Infinix and Honor.

You set a PIN to keep others out of your apps, and now it's keeping you out. Don't panic, and don't factory reset yet. Almost every Android app lock has a way back in.
Find your phone's brand below.
Quick answer: On the app lock screen, tap "Forgot password" or "Forgot PIN". Depending on your phone, you can then reset it by answering your security question, signing in to your phone-maker account (Mi account, vivo account, HONOR ID), or entering your phone's screen lock. If you set none of these up, a factory reset may be the only option, so back up first. Menu names vary by model and software version.
First, try these on any phone
- Use your fingerprint. If fingerprint unlock was on, it usually still works when you've forgotten the PIN. Once inside, change the PIN.
- Tap "Forgot password" on the lock screen, often under the keypad or in the three-dot menu.
- Try your phone's screen lock PIN. Many built-in app locks use it by default.
Xiaomi, Redmi and POCO (HyperOS / MIUI)
- Open a locked app and tap Forgot password.
- Sign in to your Xiaomi account (Mi account) when asked, if you linked one when setting up App lock.
- Set a new app lock password.
No Mi account linked? Some versions let you use your phone's screen lock instead. Check Settings > Apps > App lock.
OPPO and Realme (ColorOS / Realme UI)
App lock on these phones uses a privacy password.
- Go to Settings > Privacy (or Security and privacy) > App lock.
- Tap Forgot password.
- Answer your security question, or verify with the email or account you linked.
- Create a new privacy password.
Vivo and iQOO (Funtouch OS / OriginOS)
- Go to Settings > Security and privacy > App encryption (or Privacy and app encryption).
- Tap Forgot password.
- Answer your security question or sign in to your vivo account.
OnePlus (OxygenOS)
- Go to Settings > Privacy > App lock.
- Tap Forgot password.
- Answer your security question, or confirm with your screen lock, depending on your version.
Infinix and Tecno (XOS / HiOS)
- Open a locked app and tap Forgot password.
- Answer the security question you set when you turned on App lock.
Honor and Huawei
- Go to Settings > Security > App lock.
- Tap Forgot password, then confirm with your screen lock password or sign in to your HONOR ID / HUAWEI ID.
Forgot the app lock password AND the security question?
This is the hard one. Try:
- Your phone-maker account. Xiaomi, vivo and Honor often let you reset via the account.
- The brand's service center. Bring proof you own the phone.
- Factory reset (last resort). This deletes everything on the phone. Back up photos and files through Google Photos or a computer first, if the phone itself is still open.
How to never get locked out again
- Turn on fingerprint unlock as a backup.
- Set a security question you'll remember in a year, not one you made up on the spot.
- Don't reuse your phone PIN, but do pick something with a memorable pattern for you.
How Lockly handles a forgotten PIN
Lockly asks you to set a security question right after you create your PIN. If you ever forget the PIN, answer the question and set a new one. No factory reset needed.
Lockly also gives you:
- PIN, pattern or fingerprint, so you always have a second way in.
- Intruder selfie for wrong guesses.
- Uninstall protection and icon hiding.
- The same app on every brand, so you don't have to learn a new menu when you switch phones.
Free with ads, or Lockly Premium for $9.99 a year with no ads. Not sure which unlock method is safest? Read PIN vs pattern vs fingerprint.
FAQ
How do I unlock app lock if I forgot my password?
Tap Forgot password on the lock screen and use your security question, phone-maker account or screen lock, depending on your phone.
I forgot my app lock password on Redmi. What do I do?
Tap Forgot password and sign in to the Mi account linked to App lock. If none is linked, try your phone's screen lock.
Can I reset app lock without a factory reset?
Usually, yes, as long as you set a security question, linked an account or turned on fingerprint unlock.
What if I forgot my Lockly PIN?
Answer the security question you set during setup, then create a new PIN.
Does a factory reset remove app lock?
Yes, but it also erases everything else on the phone. Use it only as a last resort.
Back in, and staying in
Most lockouts end with one tap on "Forgot password". Set up a backup today so the next one never happens.
Download Lockly on Google Play for an app lock with a security-question reset built in.

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