How to add password page timer that automatically opens the website when the timer hits 0

Hi, We do weekly releases of products and at the moment manually open and close the website, is there any way to automate this? Preferably have the password page automatically turn on one hour before release with a 1 hour timer, and when the timer hits 0, the password page disables. Thank you