This PR adds `Std.BaseMutex.tryLock` and `Std.Mutex.tryAtomically` as well as unit tests for our locking and condition variable primitives. --------- Co-authored-by: Markus Himmel <markus@lean-fro.org>