Is there a terminal command?
For istance, when i type:
sleep 1 && xset dpms force off
It turns off the display but enables automatically the screenlock (that instead I'd like to keep just when the computer is inactive).
Actually, the lowest brightness level on elementary turns off the display. This question covers how to change brightness using command line.