lock() is now Lock.new and its methods