A simple screen locker which requires imagemagick, xss-lock and i3lock to be installed.
Just copy the lockme script and put it somewhere in your $PATH.
I use BSPWM so in my sxhkdrc, I have this line to lock the screen using lockme.
...
# Lock the screen
super + x
~/.local/bin/lockme lock
...To enable it on system startup so you will get screen locked once in-active for some minutes, you can use lockme with xss-lock. Put this in your ~/.xprofile. I have lockmein my homedir~/.local/bin/lockme`.
...
xset dpms 180 &
~/.local/bin/lockme start
...