Screenlock is a security feature that prevents unauthorized access to the current desktop session by requiring a password to regain access to the desktop after a period of inactivity or when manually activated.
Unlike logging out, which closes all applications, locking the screen maintains active programs as background processes. This is accomplished by a simple lock screen that requires a password to return to the active desktop session. In Puppy Linux the default root password is woofwoof but you can easily change the password with the passwd command (enter passwd in a terminal and follow the prompts).
Screen locking is managed by Swaylock in the Wayland desktop of modern Puppy Linux (image below) or by Xlock in the X11 desktop of traditional Puppy. The default activation delay is 10 minutes but you can easily change the delay interval in the screensaver settings module of the Display Control application. Setting the delay interval to "0" will disable screen blanking and screen locking.
