Bengie Molina and Pablo Sandoval hit back-to-back home runs in the seventh inning, and Tim Lincecum struck out 10 to lead the Giants to a 4-1 win over the Colorado Rockies on Wednesday night.