Lockheed Martin beat quarterly expectations, raised guidance and reported a record $230 billion backlog.