I like key locks. At night, I can keep the key between my watchband and my wrist.
I also like a "lockbox" type of container to keep it in, so the entire gun is covered, concealed, and protected. I don't like the trigger area being accessible at all. Trigger locks leave too much exposed for my comfort- more on that later.
I went with the clamshell-type lock that clamps around the gun and locks with a key. The name escapes me right now. LifeGuard perhaps? They make them in steel now I think, and also for long guns, and an AR-specific model.
In the morning, when my pants go on, so does the gun. At night, it goes right in the box. It's either on me or in the box.
I keep the gun in it, with two spare mags, my cellphone and a SureFire 6P flashlight next to it.
One big advantage to the HK P7 I sometimes use, is that the striker/firing pin/spring pops out with a push and quarter turn, deactivating it. It's a nice additional safety feature when in the lock box. That's also handy should I might have to be away from the gun, but am caught away from some form of lock. Like if I would have to leave it in the car to go into an airport or something.
I use cable locks some, but they are slow if you need the gun, so I use them on "stored" guns. They are usually disassembled anyway. Even though they are going into a safe, they get cabled up. I run a cable lock through the barrel and ejection port, and another cable lock through the magazine well. Revolvers get one through the cylinder opening in the frame, and perhaps another through a chamber or two of the cylinder. Rifles get a similar treatment.
But I hate triggerlocks- generally speaking anyway.
When I was living in IL, "they" were trying to push through lesiglation requiring them in about 1990. The gun club I was in, and other groups, fought it and beat it. One big reason the club was opposed to them was that trigger locks can give false security. The fear was that people who now kept their gun(s) locked away and unloaded, would keep them loaded and accessible, depending on the trigger lock instead.
The club made a short film showing how easily they could be defeated. Of course, there were only a two or three kinds available then. Some could be open by a pair of scissors. Others would allow the gun to fire even when "properly" installed.
Every one could be defeated.
For that reason, I wanted something that completely covered the trigger area for nighttime storage of my carry gun.