Make RangeLock return instances that are compatible with TLock