I think this Eleanor wife of John Locke is not correct either her name was not Eleanor, or she has the wrong husband and children.
The dau. of Joan Beaufort, Countess of Westmorland & Ralph Neville, 1st Earl of Westmorland, 4th Baron Neville de Raby was Eleanor Neville, Countess of Northumberland , she was wife to Sir Richard le Despenser and Henry Percy, 2nd Earl of Northumberland .
In the few references I have seen for John Locke, Sheriff of London there was one that mentioned his wife as Jane.
And she would not be dau. of Ralph de Neville, 1st Earl of Westmorland and Joan Beaufort, Countess of Westmorland, their dau. was Joan/Jane who became a nun.