Lockheed Martin was awarded a contract for technology that can rapidly upgrade the processing capability of sonar equipment on submarines.