The Padres and right-hander Seth Lugo are finalizing a two-year contract, a source confirmed to ESPN.