Takes a 720p video when the device is locked and stops it when you unlock it. Front camera by default.
Stored by default in /storage/emulated/0/Video
Feel free to adjust it by your preference and don't forget to disable it if not needed. It's a basic circuit and it will always record if not disabled.