Hi and thank you for your question. In the future, you can request me to answer any further questions.
If the state court judge does not want to hear you, you can file a motion in bankruptcy court
for violation of the automatic stay.
Putting a lien for the pre-petition amounts would be a violation, and that claim belongs in the chapter 13. If they don't, you should file a proof of claim
for the HOA and serve them notice
If you fall behind on the post-petition amounts, the HOA should bring a motion to modify the automatic stay and then move to collect on the debt, lien's etc.
You can request the bankruptcy judge issue an injunctive order, and they can direct the state court judge to dismiss the case.
The other background issue is, that the HOA most likely has a superior lien against the real estate, granted at the time you purchased it, so they shouldn't really need to put another lien on the home, unless state law requires them to do so. The issue is really moot with the facts above. So bring your motion in BK court first, since state court doesn't seem to want to hear about the BK. You should hire a lawyer to represent you as well, perhaps they can make the arguments better in state court. Thanks for your question, good luck