Removed unused lock