Avoid the mutex for the Lock and Unlock methods