title: Locking multiple mutexes
body: <p>I'm wondering if it's possible to lock multiple mutexes at the same time, like:</p>
  
  <pre><code> Mutex1.Lock();
   {
       Mutex2.Lock();
       {
            // Code locked by mutex 1 and 2.
       }
       Mutex2.Unlock();
  
       // Code locked by mutex 1.
   }
   Mutex1.Unlock();
  </code></pre>
  
  <p>It would be very useful for some situations. Thanks.</p>