Any technical advice about how to block yourself is beating around the bush IMO. Not only is it easy to bypass most of that stuff, but you'll be way better off learning how to deal with this psychological issue directly instead of trying to avoid triggering it.
Edit: They are not mutually exclusive by any means, I just mean that you will benefit in the long-run by addressing the psychological problem that leads to this behavior and manifests in this way. It probably manifests in other ways too, outside of phone addiction.