Locks the list, returning an immutable list (IList).
IList<T> get lock => (_list != null) ? IList<T>(_list) : _iList!;