Add some samples about Lock.lock()