Remove unused lock