Keysight Technologies Interview Question

What are mutexes and how are they used in multi-threaded processes?