Adding locking example with Curator. Very nice framework. A few qualms, but overall nice.