debian - gnome - disable log out lock screen etc

Disable automatic log-out / screen lock on debian gnome desktops ...

bad idea for your workstation, even worst for your laptop but a friend desperately wants it and he could not figure it out.

Check which values-keys are set to true in the relative section of the 'registry'
$ dconf list /org/gnome/desktop/lockdown

Set disable-lock-screen and disable-log-out to true
$ dconf-editor
and check /org/gnome/desktop/lockdown/disable-lock-screen and /org/gnome/desktop/lockdown/disable-log-out

( dconf write /org/gnome/desktop/lockdown/x false|0|... does not work the way I expected it to work )

> System Settings > Brightness And Lock > Lock > OFF

debian gnome disable lock screen and user logout