There are dozens of devices to lock your handgun. If properly designed with quality materials, they all reduce the chance that your gun will fall into the wrong hands. All firearms not in use should be stored, locked and unloaded with ammunition locked up in a separate location. A small safe designed to store a handgun. A push-button, combination, digital keypad, or key opens the lock.
Most models have holes in the bottom to allow permanent mounting.
Some have lighted locks for access in the dark. Most have padded interiors. Quick access if the lock is push-button or digital. Difficult to steal if permanently mounted. May allow storage for more than one handgun.