Abstract: A locking mechanism for locking a valve pin of a nozzle of an injection molding apparatus in an extended position includes a generally oblong detent coupled to a pin. The pin extends through an aperture located at a first end of the detent to secure the detent to an inner wall of a recess, which is located adjacent the piston-receiving cavity of the valve pin. The detent is pivotable about the pin to rotate a second end of the detent into abutment with a return surface of the piston to restrict movement of the valve pin.