The CNA2 series cylinder with lock is suitable for mid-stroke stops, emergency stops, and drop prevention. An equal holding force in extending and retracting directions make it possible to lock at either end of the stroke. High reliability and stable holding force are maintained by using a substantially lengthened brake shoe with superior wear resistance. The locking mechanism is isolated from lock release air, so lock function is not diminished by excessive dirt or drain in compressed air.