Make access difficult
Your brain takes the path of least resistance. If you add friction — taking the phone out of the bedroom, deleting the apps, enabling a blocker, turning off notifications — you give your prefrontal cortex a few seconds to step in. Those few seconds make all the difference. It's not willpower. It's behavioural architecture.