Sample: Dispose moved to lock