Add some samples about Lock