pub fn set_step_lock(step: Option<StepIndex>) -> Option<StepIndex>
Set (or clear, with None) the process-local anchor step lock. Returns the previous value so the caller can restore it after the stage.
None