Separate event locks and make them into mutexes