get lock added to repository