A ram locking device is the mechanism that holds the rams of a ram BOP in the closed position after the well has been sealed. It enables the preventer to seal the well reliably over long periods, and allows the well to be closed manually instead if the hydraulic control fails. There are two forms: hydraulic locking and manual mechanical locking. The former locks automatically as soon as the rams close and is commonly used in offshore drilling, where personnel cannot easily approach the preventer; the latter consists of a locking shaft, an operating rod, a handwheel, and a universal joint, and locks when the handwheel is turned; it is generally used on Chinese-made ram BOPs for land operations.
The main points of manual locking are as follows. For long-term shut-in or manual shut-in, first move the three-position four-way valve quickly to the closed position, and then lock the rams; to open the well after locking, reverse the sequence: unlock first, then open hydraulically. When locking, the handwheel must be turned the full number of turns; it is in place when the shoulder of the locking shaft bears against the retaining plate at the thrust bearing. The number of turns required differs from preventer to preventer and should be indicated on a tag. On Chinese-made ram BOPs, whether the rams have been locked after shut-in can be seen from the exposed end of the locking shaft: a longer exposed bright section means the rams are locked, and incomplete exposure means they are not fully locked. SY/T 6426-2005 (an earlier regulation; whether it has been superseded has not been verified) requires that ram BOPs with a manual locking mechanism be locked manually after shut-in, and that both locking and unlocking first be taken fully home and then backed off 1/4–1/2 turn.