# Screen Lock To configure a user to be automatically logged into the Desktop at system startup, use the following Hiera keys: - `desktop::lock_enabled`: enable/disable screen lock (default `true`) - `desktop::idle_delay`: idle time in seconds until the screen switched off (default 5 minutes) - `desktop::lock_delay`: time in seconds between screen switched off and actually being locked (default `0`) Example: ``` desktop::lock_enabled: true desktop::idle_delay: 900 desktop::lock_delay: 15 ``` This is only implemented for Gnome desktop (default) and not yet for XFCE or any other desktop/window manager.