lock(1) on OpenBSD
The text 63d9a3679f9a, as OpenBSD 4.1, OpenBSD 4.0, OpenBSD 3.9, OpenBSD 3.8 shipped it.
reserve a terminal
Flags it lists
-
-a -
-n -
-p -
-t