Use this plugin to turn on/off your screen. The screen off action also instantly activates you screen lock.
The screen off & lock action can be used to create a widget that locks the screen if your power button is broken.
See more details on creating a widget with AutomateIt: http://automateitapp.com/user-guide-2/widget-a-shortcut-to-your-rules/
To use this app you need to install AutomateIt Free or Pro.
Screenshots shows how the plugin is used within AutomateIt
This app uses the Device Administrator permission.
★★★ To uninstall the app, you need to deactivate the device administrator. Go to device settings → Security → Device administrators and deactivate the plugin ★★★