I'm using Arch Linux with Gnome as DE and lightdm as display manager.
I have a keyboard shortcut with the xset dpms force off command for turning off the laptop monitor. When I execute this command display goes off but when I press any key it turns up to the lightdm login screen.
I just want to turn off the screen not log out from the desktop.