Lynn (5-2) allowed seven hits walked two and struck out three. Carlos Martinez retired the Braves on four pitches in the eighth and Trevor Rosenthal set down the side in order for his 12th save in 13 opportunities.
Matt Carpenter and Kolten Wong had two hits each and scored a run for St. Louis. Matt Holiday, Matt Adams and Yadier Molina all drove in a run for the Cardinals.
St. Louis finished the game without manager Mike Matheny and center fielder Peter Bourjos, both of whom were ejected by home plate umpire Sean Barber at the end of the fourth inning for arguing balls and strikes.
The Braves’ Chris Johnson went 2-for-4 with a run scored and Friday is batting .377 (20-for-53) in May.
The Braves, who have lost 11 of 16, were held to two or fewer runs for the 18th time.
Ervin Santana (4-1) took his first loss as a member of the Braves. Santana lasted five innings and allowed five runs and 10 hits with one walk and three strikeouts.
St. Louis broke open a 2-2 tie by scoring three times in the fifth. With one out, Carpenter and Wong singled. Holliday followed with an RBI double down the right field line to score Carpenter. Wong scored on Craig’s single to left and Molina made it 5-2 with a sacrifice fly.
The Braves took a 1-0 lead in the second on a two-out RBI single by Tyler Pastornicky, but the Cardinals tied it in the bottom of the inning on Adams’ RBI double. After the Braves took a 2-1 lead in the fourth on Andrelton Simmons’ double play ball, the Cardinals tied it in the bottom of the frame when Craig scored from third on Santana’s wild pitch with two outs.
NOTES: Jhonny Peralta stole second in the fourth inning for his first stolen base as a member of the Cardinals. ... Santana had two wild pitches, giving him a total of five, one behind Arizona’s Wade Miley for the most in the National League. ... Atlanta’s Aaron Harang (4-3) will oppose Shelby Miller (5-2) in the second game of the series today. ... Friday was the first time that Santana has allowed five or more earned runs since Aug. 9, 2013, in a 9-6 win over Boston when he was with Kansas City.