added a new class: MutexLock.