I'm trying to find a command or a script that would allow me to turn my monitor off without locking my session. I've already tried xset dpms force off and xset dpms force standby according to this, and it does the job, but my screen gets locked after about 5 seconds which is something that I don't want.I'm using Debian 9 if it matters. 
Turning Monitor Off Without Locking
debian;scripting;lock