public final void doReleaseLock(Env env, IProcedureStore store) {
    locked = false;
    if (getState() != ProcedureState.ROLLEDBACK) {
      store.update(this);
    }
    releaseLock(env);
  }
Presist lock state of the procedure

@param env environment
@param store ProcedureStore
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/Procedure.java