About

Mutual Exclusion means that two threads or process cannot at the same time access the same resource (ie method, class, file, …) in order to prevent race conditions.

A lock (also known as mutex) is a mutual exclusion mechanism that provide exclusive access to internal data structures.

Documentation / Reference