Add documentation for --with-locking option