Fired at the muzzle, a representative .44 Magnum load (15.6 g, SP, 400 m/s) reaches roughly 222 mm (8.7 inches) into pine wood. That is enough to defeat a typical barrier of this material — treat anything behind it as exposed.
Construction pine — a 2x4 stud is ~38 mm thick.