What is a gunlock and how does it work?

A gunlock fits over the trigger to prevent the firing of the gun. A good gun lock will cover the trigger completely and have a quality, pin-tumbler locking mechanism.