IsLockedAsync Method IsLockedAsync(TKey) Determines whether an entry is locked. Declaration Task<bool> IsLockedAsync(TKey key) Parameters TKey key The key identifying the entry. Returns Task<bool> true if the entry is locked; otherwise false.