Abstract: The present invention relates to a locking mechanism for locking an endotracheal tube to a respirator, and the method of using the same. The locking mechanism comprises two clamp mechanisms and a strap interconnecting them. One of the clamp mechanisms is tightened around the endotracheal tube, and the other clamp mechanism is a quick-release clamp that is clamped onto the respirator connector in a quickly releasable manner.