Hello,
When a phone is being stolen, the first thing a thief will try to do is to turn on flying mode or shutdown. Google play has an app called “Cerberus” that disables powering off and control panel on your phone when locked, but it asks for too many permissions for a proprietary app IMO. Does anyone know any F-Droid alternatives?
Just a note: it can still be forced off/rebooted by pressing power button even longer. Likely the thief will just do that.
So there’s not much point for this.