Equivalent to Guided Access on macOS?

Just discovered “Guided Access” on iOS via a LifeHacker post, and aside from potentially protecting me from friends and family w/ poor phone etiquette, guided access is proving to be fantastic for keeping me on track by setting a 30 minute timer and making it impossible for me to hit the home button to check out email or twitter (unless I shamefully enter the password to end guided mode prematurely).

Is there any macOS equivalent to guided access? I am equally distractable when working on my desktop, and could use some self-imposed, timed constraints to keep myself on track when using my Mac Pro (Sierra, 10.12.6).