selfcontrolapp.com
SelfControl is a free, open-source macOS application that blocks access to distracting websites, mail servers, or other internet destinations for a pre-set period. Until the timer expires, blocked sites remain inaccessible even after restarting the computer or deleting the application.