add method for CuratorLock