It's not a gun movie, but "Couples Retreat" had a pretty good depiction.
Couple is sleeping, and hear a disturbance downstairs. Man wakes up and opens his bedside table to reveal a GunVault. He clears the house, and it's overall portrayed as a normal thing to do.
My only problems with the scene are they portrayed him loading the gun after retrieving it from the safe (should have been already loaded; after all, it was already locked in a safe), and his finger was on the trigger when it shouldn't have been.
But kudos for the Hollywood depiction of a responsible homeowner owning a gun for home protection.