Is there a way to add a icon on click of which screen locks instead of physical button lock

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

So, I have an Asus Zenfone Max Pro m1 with Android Oreo in it, my physical lock key is damaged so I'll like to add a shortcut on the home screen to lock the device instantly. I have double tap to lock but still, I'll like to know if I can create an icon too.
FYI: I tried third party apps and they allow to add a black overlay for 5 seconds before they lock the screen so any accidental touch disables the lock process and I tried forcing Administrative lock but then it requires the pattern and doesn't unlock from the fingerprint.
 
Welcome to Android Central! I haven't tried it yet, but Nova Launcher has a screen lock widget, so it's worth a go.
 
I just tried it - you have to tell it which kind of lock you want the first time, but it works. Thanks. Quick Reboot Pro (free) also has a lock item in its menu, and you can create a widget, but the phone has to be rooted.