Installing an Add-on in Thunderbird. https://support.mozilla.org/en-US/kb/installing-addon-thunderbird Enter the add-on's name FiltaQuilla or enough of it to limit the search results returned to a manageable number and press Enter or click the magnifying glass icon.
@Bruno2parici agreed, a filter action "archive message" would be extremely useful, to be inckuded in the standard feature set of TB. I was just about to suggest the same idea, and ran into your post.