Drip access to posts automatically

I couldn’t find this exact idea, but if I missed it, feel free to close and point me to the correct thread:

I want to configure a post to be only for paying members for X time (a week) and then automatically change to public or members-only (not paying) after the week ends.