Add a locking section to the coding guidelines document.