Reference

borg-with-lock(1) on Linux

The text 1e4c9ae2259c, as Debian 13 (Trixie) shipped it.

run a user specified command with the repository lock held

borg-with-lock(1) on Linux now