MDL-67594 core_lock: Deprecate extend()