Cody Bellinger's home run in the bottom of the ninth inning gave the Dodgers their first walk-off win of the season, a 4-3 victory over the Rockies.