Here you have a little task that will help you to get more information than the 'KEYG' built-in variable, about the device lock...
Here is the successor to the set of scenes 'Custom LockScreen Scenes'. Now considered as a project, with the possibility of blocking...
Sorry but there is an issue with the forum where it can't send out emails.Because of this the forum is in read-only mode at the moment.
You can find the currently known issues with Tasker and possible workarounds here.
Separate names with a comma.