A blowout preventer having a main body, a ram system with ram apparatus, a movement system with movable shaft apparatus connected to the ram apparatus, the ram apparatus movable from a first open-ram position to a second closed-ram position, the movable shaft apparatus including a locking shaft portion having a tapered portion, a locking system for selectively locking the ram apparatus in the closed position and having locking member apparatus having a primary tapered surface in contact with the locking shaft portion which is movable with the so that the primary tapered surface contacts the tapered portion of the locking shaft portion to releasably lock the movable shaft apparatus.