Put your phone on do-not-disturb/silent mode when you are focusing on a given task.