private Path lockPath(ApplicationId application) {
        Path lockPath = CuratorDb.lockPath.append(application.tenant().value())
                                          .append(application.application().value())
                                          .append(application.instance().value());
        db.create(lockPath);
        return lockPath;
    }
Creates and returns the path to the lock for this application
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/CuratorDb.java