Add NewLock method to Conn. Add Locker interface.
Merge pull request #2 from andreas/new-lock

Add NewLock method to Conn. Add Locker interface.