WASHINGTON—The U.S. Department of Defense agreed with Lockheed Martin Corp to build about 375 F-35 fighter jets over three years, the two parties said on Monday, amid expectations the price of the most common version of the aircraft would increase due to inflation and slower production. “We are pleased to announce that the Department and…