I am using Google Nexus 5 with stock 4.4 KitKat.
When the phone is in
locked state (locked with a standard PIN code, password or pattern) and we long press power button, we get the power-off menu with options like Power-Off, Flight mode and Sound options (Mute, Vibrate and Sound)
I was wondering that whether we could secure/disable the power-off and flight mode option if the phone is
locked state or is there any way to customize these menu options?
I looked in one of such question but didn't get the answer: Disable power-off menu when screen is locked