complete mutex_lock