Your phone keeps distracting you because you never taught it the difference between work mode and break time.
That’s why I turned my iPhone into a Pomodoro timer with boundaries:
One tap starts a timer and hides every distracting app.
Starting a break does the opposite: work notifications + apps get silenced and hidden.
Same phone, different personality.