This asks systemd-logind to lock the session, triggering the configured screen locker immediately. It is the command-line equivalent of the Super+L shortcut. No argument locks the caller's own session; a session id targets a specific one.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.