lock
The lock command applies a screen lock to your device.
Syntax
lock
Usage
Executing the lock command will lock your device's screen.
Note
Appropriate permissions (Accessibility Service or Device Administrator) are required for this command to work. The launcher will guide you to enable these if they are missing.