If you're a programm r something, your job is on your computer. How do you avoid logging into steam or booting up this video game? You can have two computers if financially like afford that. Have one phone for work, or one phone for personal stuff. Separate the physical spaces, so that it is an important part of habit and environment.