A locking mechanism to prevent rotation between a press frame and a hydraulic cartridge threaded into the press frame is disclosed in one aspect of the invention as including a locking mechanism body; one or more fasteners to attach the body to the frame of an HPHT press; and a pin extendable with respect to the body and adapted to engage an aperture in the hydraulic cartridge. The pin prevents rotation of the hydraulic cartridge relative to the frame. In certain embodiments, a cap constructed of a softer material than the hydraulic cartridge is attached to the end of the pin to prevent scratching or damage to the hydraulic cartridge.