Creates a new Mutex.
Mutex
Creates a new Mutex. Like apply but initializes state using another effect constructor.
apply