This is achievable by using a reliable automatic gate closer.
The Lockey GC200 Gate Closers are an economic and reliable hydraulically controlled automatic gate closer for use with commercial and domestic gates.
Unlike normal closing springs, the Lockey GC200 Gate Closer does not slam gates shut. They firmly and quietly push gates closed, making them ideal for use with electric/magnetic locks, and other latching devices including Lockey digital door locks.
The GC200 gate closer closing speed is pre-set to give a controlled closing time.
With this closer there is no risk of maladjustment or tampering with the speed adjustment after the closer is fitted.
They are probably the easiest retrofit gate closers to install because the cylinder clamp makes it so easy to insert pins into brackets as there is no pressure being exerted from the cylinder when the clamp is on. The cylinder clamp and the bracket installation template ensure there is always a pressure on the gate keeping it closed, and they only require periodic inspection and joint lubrication.