My iPhone don't auto lock when charging
My iPhone sometimes don't auto lock when charging.
How to reproduce:
unlock it, open some app. Then it never locks again. Even tho I set auto lock to 30 seconds.
It will auto lock again if I move away from the charger. (either wireless or wired charger)
Note, it can still auto lock if I simply unlock it but don't go to home screen and open some app.
iPhone 11 Pro, iOS 14