Hi Kevin
On scotlandspeople there are three children baptised to an Alexander Lockie in Westerkirk.
Alexander b 1707, John b 1709 and Margaret b 1714.
I haven't checked these, but the spelling of Lockie rather than Lockhart sounds quite likely, and Westerkirk is near Langholm.
cheers
robbiesmum