Lockheed Martin Corp. raised its profit and revenue guidance as demand for its fighter jet and radar programs drove sales above expectations in the second quarter.