I stay in Lockerbie and travel to Edinburgh all the time. While I can't say what is allowed as per the routing guides, I can tell you want I consitantly get away with on the ground
Lockerbie to Edinburgh, direct - fine.
Loc to Edi via Carlisle - this is a hard no. However I've found asking...