Umm...
Generally to place a lein on real property, you have to go to court and get a judgment. So you've already been to court, or they've filed a suit and you haven't answered and they have a default judgment. Then they would have had to record the judgment in the office where they keep land records.
Most creditors simply record the judgment against the land and let it build, accruing at the statutory interest rate. When you sell the property, that lein will have to be paid off or assumed by the purchaser. The purchaser won't assume the debt, so it will have to be paid off.
If you declare bankruptcy, the house potentially becomes part of the estate, assuming that it is not exempt. If you've built equity in the house, you'll likely lose that equity. Keep in mind that if they have a judgment against you, I'd expect them to look at garnishing your wages or getting writs of execution on personal property (e.g. the sherriff shows up at your door and takes your property) to satisfy the judgment.
You might want to think about working out a payment plan with the creditor/creditor's attorney to avoid all that.