Locker was a barrister who was also known as a man of literature. Some of his poems were published in a miscellany by Mr. Bland. He translated into English part of Voltaire's history of Charles XII and was renowned for his skill in modern Greek. His most important achievement was the work he undertook with Robert Stephens, historiographer royal, on the manuscript letters of Sir Francis Bacon.