I would like to contribute two PreLock script templates (for the contrib/hook-scripts/client-side directory).
PreLock.js.tmpl is based on PreUpdate.js.tmpl, adding a display of the msgfile and adjusting the parameters.
PreLock-add-computer-and-path.js.tmpl is a script to add the computer name and local WC path to the end of the lock message, a feature requested from time to time on the mailing lists (both here and upstream).
Please add them if you find them useful (and anyone else, feel free to use them on your side).