Reference

XLockDisplay(3) on Linux

The text edb0d019e259, as Debian 8 (Jessie) shipped it.

multi-threading support

XLockDisplay(3) on Linux now