Interaction will automatic close when it is resolved and after two day later

Hi friends,

I wanna close all resolved interactions, but the resolved interactions, should be closed after two days..

This is should be automatic..

how can I it?