As @ShuHung mentioned, disabling "Dash to Dock" keeps the session from
ending when turning off the monitor
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Artful (17.10) Session logout after screen turned off
To manage notifications about this bug go to:
ubuntu-bugs mailing list