remove unused lock() method
Merge pull request #20 from gluster/BZ927284

remove unused lock() method