A lock guard with lock and unlock methods.
unlock() -> voidUnlock the mutex.
lock() -> voidLock the mutex.
~simple_lock()Destroy simple lock and unlock the mutex.
simple_lock(mutex_type & m)
Construct simple lock for mutex m and lock the mutex.