BEML inks pact with Lockheed Martin