public bool Release()
        {
            if (!IsAcquired)
            {
                return(false);
            }

            try
            {
                return(_lockFactory.ReleaseLock(_keyValue.Key, _keyValue.Value));
            }
            finally
            {
                _lockFactory = null;
            }
        }