This does work, especially at the library where you feel like you're drawing a little attention for going in your bag.

I also put my phone in a kSafe by Kitchen Safe for 20-30 minutes to break out of doomscrolling with no takebacks. I keep a wireless charger in the safe so it can charge while it's in there.

Another thing I realized by working at a job where I couldn't take my phone is that you can just go to the library and leave your phone at home.