You're in luck then, there are tons of guides:
Wiring - Starbounder
Basic Wiring Guide
Advanced Wiring Guide (Includes detailed airlock)
And even more airlock specific stuffs: (newest first)
Wiring Tutorial: Decompression Chamber! (video)
Airlocks Guide - Starbounder
Airlock Tutorial Video
Different type of airlock on a base
Underwater Base with Airlock
I caught dinner! (airlock screenshot)
Almost fully automated decompression chamber
Fully functional underwater airlock (video)
Awesome Airlock by CJ/SeaJay
Airlock concept in use
Vertical Airlock with an angle
Help building and airlock (forum thread)
Deep sea research base (forum discussion on airlocks)