by Max Leiberman
[No root] Uses UI interactions to navigate settings and set an infinite delay till a password is required after screen is off, works if your secure lockscreen is a PIN (probably easy to change if password and really annoying if pattern)
1.PIN will now be prompted in first run, stored in atomic variable.
2. tweaked delays to prevent pressing the wrong stuff when phome feels a little more sluggish :)
Tested on my Redmi Note 4 snapdragon with miui 18.104.22.168 stock, android 7.0
Rate and review within the app in the Community section.