Any bank may place its affairs and assets under the control of the department by posting on its door the following notice: This bank is in the hands of the Department of Banking and Finance. The posting of such notice, or the taking possession of any bank by the department or by any financial institution examiner shall be sufficient to place all of its assets of whatever nature immediately in the possession of the department, and shall operate as a bar to the levying of attachments or executions thereon, and shall operate to dissolve and release all levies, judgment liens, attachments, or other liens obtained through legal proceedings within sixty days next preceding the posting of such notice or the taking possession of such bank by the department.