title: Are Locks AutoCloseable?
body: <p>Are <code>Locks</code> auto-closeable? That is, instead of:</p>
  
  <pre><code>Lock someLock = new ReentrantLock();
  someLock.lock();
  try
  {
      // ...
  }
  finally
  {
      someLock.unlock();
  }
  </code></pre>
  
  <p>...can I say:</p>
  
  <pre><code>try (Lock someLock = new ReentrantLock())
  {
      someLock.lock();
      // ...
  }
  </code></pre>
  
  <p>...in Java 7?</p>