Personally, I'd stay away from trigger locks. Multiple studies have shown them to be excessively difficult to remove while disoriented (waking up) and under stress (someone is in the house). They take too many fine motor skills to remove when someone is under stress. It doesn't do a damn bit of good to have a gun in the house if you can't get to it quickly if you need it.
My advice would be to keep an illuminated electronic push button safe near your bed. Keep the gun loaded in the safe, with a shell in the chamber and on safe.
I have opted for a daily routine of taking a gun to bed with me and returning it to the safe each morning. This can be dangerous, because you can simply never forget to do it. As strongly as I believe in being armed to the teeth, I believe even more in keeping my kids and their friends safe. My kids are also trained to back off and tell an adult if they ever find a gun, but kids are curious and it's not uncommon for us to have over a dozen kids through our house on a given day. You can't be too careful keeping guns away from curious kids.