Keeping your smartphone hidden somewhere while working helps avoid getting distracted by it.
You can put it behind the laptop, if you are working on it. This strikes a balance between getting notified by a call, or finding it easily and avoiding the urge to use it that tends appear when you see it.