reveal
Adventurer
From the Main D&D FAQ, in the section dealing with total cover from Tower Shields and what it affects:
Emphasis added because Lightning Bolt's area is a 120-foot line. So the shield would block all damage from the Lightning Bolt. The shield would take the damage and, as has been mentioned earlier, if the shield breaks, the Lightning Bolt would hit the person behind the shield, per the spell description.
Magical attacks that fill areas (bursts, cones, cylinders, lines, emanations, and spreads) are subject to all the rules for cover on page 151 of the Player’s Handbook. Such attacks are completely blocked if line of effect between you and the attack’s point of origin passes through the side of your space the shield blocks.
Emphasis added because Lightning Bolt's area is a 120-foot line. So the shield would block all damage from the Lightning Bolt. The shield would take the damage and, as has been mentioned earlier, if the shield breaks, the Lightning Bolt would hit the person behind the shield, per the spell description.
If the damage caused to an interposing barrier shatters or breaks through it, the bolt may continue beyond the barrier if the spell’s range permits; otherwise, it stops at the barrier just as any other spell effect does.