 30 June 1696, in which year he was admitted a member of the College of Advocates (21 November).Lloyd was appointed deputy admiralty Advocate during the absence of Dr. Henry Newton on 15 Nov. 1701, and was king's advocate from 1715 to 1727.He was knighted 29 May 1710, and the same year was incorporated at Cambridge, and admitted (20 June) master of Trinity Hall, the chapel of which he enlarged and to which he bequeathed £3,000l to rebuild the hall.