LPS-51358 Decouple check-in/lock logic from update and revert methods