Lopez began the 2019 season with the Low–A Salem-Keizer Volcanoes, starting 9 games and posting a 3.02 ERA with 39 strikeouts across 41+2⁄3 innings pitched.
[3] On July 31, 2019, the Giants traded Lopez to the Tampa Bay Rays in exchange for Joe McCarthy.
[5] Lopez began the 2021 season with the High–A Bowling Green Hot Rods, making 14 appearances (10 starts) and registering a 3–1 record and 2.30 ERA with 88 strikeouts across 54+2⁄3 innings of work.
[6] Lopez suffered an elbow injury in late August that necessitated Tommy John surgery and caused him to miss the entire 2022 season.
On December 14, 2024, Lopez, alongside Jeffrey Springs, was traded to the Athletics in exchange for Joe Boyle, Will Simpson, Jacob Watters and a 2025 Competitive Balance Round A draft pick.