WEST SACRAMENTO, Calif. (AP) — Shea Langeliers hit a two-run homer in a four-run first inning and the Athletics beat the Arizona Diamondbacks, who have scored just seven runs in their last seven games, 5-1 on Friday night.

First baseman Tyler Locklear, acquired in the Eugenio Suarez trade with the Seattle Mariners, made his Diamondbacks debut and struck out his first two at-bats, finishing 0-for-3 with a walk.

Brent Rooker had a sacrifice fly, Langeliers followed with his 19th home run and Carlos Cortez added a two-out RBI single as the A’s built a 4-0 lead against Anthony DeSclafani, who took Merrill Kelly’s spot in the rotation. Rooker singled and scored on Tyler Soderstrom’s second double of the game to make it 5-0 in the fourth.

Jacob Lopez (4-6) gave up five hits in five scoreless innings for the Athletics, who have won three straight and seven of their last eight. Luis Morales allowed a run in two innings in his major league debut. Elvis Alvarado and Sean Newcomb each pitched a scoreless inning to close it out.

Langeliers led the way with three of the Athletics’ 11 hits.

Corbin Carroll’s sacrifice fly drove in Jose Herrera, who singled before advancing to third on Ketel Marte’s ground-rule double in the seventh to get Arizona on the scoreboard.

DeSclafani (1-2) gave up four runs and five hits in 2 1/3 innings in his second start. Jake Woodford allowed one run and five hits in 2 1/3 innings as the Diamondbacks lost their sixth straight.

Diamondbacks’ next game

Diamondbacks RHP Zac Gallen (7-12, 5.60 ERA) starts Saturday opposite Athletics RHP J.T. Ginn (2-2, 3.89).

Catch first pitch at 7:05 p.m. on 98.7 and the Arizona Sports app.