add Cartridge and Cartridge.lock