OBNB doesn't sell books, but you may be able to find a copy at one of these websites:
Lochmaben its historic past by John B. Wilson. Published by Printed by Dinwiddie Grieve Ltd. in 1984. Publication and catalogue information, links to buy online and reader comments.