Added Lock interface.