OK to import this? It's similar in some ways to xidle but this triggers the locker a little earlier. In particular, if the screen is blanked by DPMS, the locker runs while the screen is blank, not when it is unblanked again.
$ pkg_info xss-lock Information for inst:xss-lock-0.3.0 Comment: use external locker as X screen saver Description: xss-lock uses the MIT screen saver extension for X to allow running your choice of screen locker when X's screen saver activates. Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> WWW: https://bitbucket.org/raymonad/xss-lock/