Barrier gates come in all sorts of designs and there is really no one correct way to design them. This one is fairly typical in design. It is 2 x Schedule 40 frame hung on a 6-5/8 post. The gate has an area where a lock can be applied while closed.