I have found that a useful method for getting distractions off my work laptop has been https://selfcontrolapp.com/ (if you're on mac).