This is based on 
https://github.com/Joisar/LockScreenApp

I will add a function: Unlock the tablet remotely.