'Character Shielding (also known as Plot Armour or Script Immunity) is a literary device that "protects" a character based on their relative level of importance to a story.