KEEP LOCKD RUNNING ON SAMSUNG AND XIOMI
Why does this happen? Samsung and Xiaomi use aggressive battery optimisation that kills background services, including the one Lockd uses to block apps. This is an OS-level restriction outside our control, but a simple one-time setting change fixes it permanently.
SAMSUNG
Step 1: Battery optimisation Settings → Apps → Lockd → Battery → Unrestricted

Step 2: Put unused apps to sleep Settings → Battery & device care → Battery → Background usage limits → Put unused apps to sleep → OFF
*Samsung may re-enable this after a firmware update. Repeat if Lockd stops working.

Step 3: Adaptive battery Settings → Battery & device care → Battery → More battery settings → Adaptive battery → OFF

Version differences, find your Android:
Android 14
Settings → Apps → Lockd → Battery → Unrestricted
Android 11/12/13
Settings → Apps → ⁝ → Special Access → Optimize battery usage → All apps → Lockd → Don't optimize

Battery → Background usage limits → Put unused apps to sleep → OFF


Battery → More battery settings → Adaptive battery → OFF

Android 9/10
Settings → Device care → Battery → ⁝ → Settings → disable all toggles (except Notifications)

Sleeping apps → Remove Lockd from the list

Add Lockd to "Apps that won't be put to sleep"

Android 7/8
Settings → Device maintenance → Battery → Unmonitored apps → add Lockd
Android 6 and older
Settings → Applications → ⁝ → Special Access → Optimize battery usage → find Lockd → make sure it is NOT selected
XIOMI
Xiaomi (MIUI / HyperOS)
Step 1: Enable Autostart Security app → Permissions → Autostart → Enable Lockd

Step 2: Remove battery restrictions Security app → Battery → App battery saver → Lockd → No restriction

Step 3: Lock app in Recent Apps Open Recent apps → find Lockd → drag downward to pin it (On some phones: long-press → tap the padlock icon)

Version differences, find your Xiomi:
MIUI 14
Settings → Apps → Lockd → App permissions → Background autostart → ON
Security app → Permissions → Autostart → Enable Lockd

MIUI 12
Settings → Apps → Lockd → Battery saver → No restrictions

MIUI 11/10
Settings → Apps → Lockd → Battery saver → No restrictions

Settings → Advanced Settings → Battery Manager → Protected apps → add Lockd
Still not working? Contact us at team@trylockd.com and we'll sort it out.

