Air Lock Frame
To make the Air Lock, you must build Air Lock Frames in a 4 block wide by 5 block tall frame, with a 2x3 space in the middle. One of the blocks in the side of the frame must be the Air Lock Controller.
Air Lock Controller
Configure the Air Lock Controller to specify how you want the Air Lock to open.