The HOA is generally allowed to put a lien on your house, through the contract you were forced to sign with them.
Except for Texas, I have not heard of being forced into an HOA. You choose to join one when buying a property in a neighborhood that has one.
What's the story with Texas?