Added in a number of locking examples