Power buton lock doesnt work

I am using a OnePLus 6t and have set up Prey Pin and selected to block power button, but I can always shut down my phone without being asked for the pin. It worked well on my old Note 8.

Hi @Ralph_Oberholzer, are you using Android 9? :confused: