public ApplicationMutex lockMaintenance(ApplicationId application) {
        return new ApplicationMutex(application, db.lockMaintenance(application));
    }
Create a lock which provides exclusive rights to perform a maintenance deployment
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/applications/Applications.java