MUTEX and its use in MBED MUTEX LOCK and Unlock mechanism