The answer to most legal questions is always the same, "it depends."
If the new property is located in the same county where the lien was recorded, then yes, the lien would affect the new property.
But since liens are recorded at the local county, if the new real estate was in another county, then the lien wouldn't affect the new property.
BTW, you can remove many liens with your bankruptcy. Have you looked into this?