If a debt collector puts a lien on your house does that mean your mortgage co forecloses your house?

It does not follow. The lien of the debt collector comes after the mortgage loan. Which means that the debt collector still may not be able to collect any money.