Lock the given mutex.
- ScummVM code assumes that the mutex implementation supports recursive locking. That is, a thread may lock a mutex twice w/o deadlocking. In case of a multilock, the mutex has to be unlocked as many times as it was locked befored it really becomes unlocked.
Referenced by Common::EventRecorder::processMillis().