From the Super Mario Wiki
Door Spirits are living, gold-colored door knockers in the Wario World level, Horror Manor. They shoot bolts of electricity from their open mouths at Wario. Wario cannot pass through the door until he defeats them.
There are also Silver Door Spirits which are stronger than regular Door Spirits.
Names in other languages