physlock
Lock all consoles and virtual terminals. tldr-pages
On Linux
Linux
Lock every console (require current user or root to unlock)
physlockIdentifyMute kernel messages on console while locked
physlock -mIdentifyDisable SysRq mechanism while locked
physlock -sIdentifyDisplay a message before the password prompt
physlock -p "Locked!"IdentifyFork and detach physlock (useful for suspend or hibernate scripts)
physlock -dIdentify