Mass close existing topics older than x?

You could try using this setting in the Category settings:

I’m not sure if it’ll retroactively close things but it’s worth a shot.

My other thought was to do some advanced filter and a set a Before date:

From there you can use bulk actions on the topics that come up.