Locker was born in February 1731 in the official residence attached to the Leathersellers' Hall, in London.
After Windham's death, Locker moved aboard the Vainqueur (under a Captain James Kirk), which was bound for the West Indies.