Logging of current lock/unlock count mapping