The Baltimore Orioles erupted for 10 runs in the final four innings to pound the San Francisco Giants 10-2.