Mutex use cases

Hi @richard-damon ,
Is there any example code available for this?