During the pendency of delinquency proceedings in this or a reciprocal state, an action or proceeding in the nature of an attachment, garnishment, or execution may not be commenced or maintained in the courts of this state against the delinquent insurer or its assets. A lien obtained for the action or proceeding within four months before the commencement of the delinquency proceeding or at any time thereafter shall be void as against any rights arising in the delinquency proceeding.