Add a locking mechanism to gitolite