The article links to this tool:
HN user
throwthh436
For these kind of problems, tech is not really a solution. So better talk to a registered psychologist or psychiatrist.
But on the tech side, for android users, 'Open TimeLimit' is a useful app. It's like an advanced app locker, with timers and stuff. It's FOSS and on Fdroid:
https://codeberg.org/timelimit/opentimelimit-android
https://f-droid.org/app/io.timelimit.android.open
Edit: Make sure to disable the app when you go out etc. Because it might cause obstacles during emergencies. Depends on the way you set it up of course.
There's a bill that genuinely thinks of the children:
https://www.wyden.senate.gov/news/press-releases/wyden-gilli...
There's already a bill that advocates for a better world for children. But it seems like it won't be passed:
https://www.wyden.senate.gov/news/press-releases/wyden-gilli...
EARN IT actually undermines child safety:
https://www.techdirt.com/articles/20220202/17411648407/senat...
Read this techdirt article. Make sure to click and read all the links within the article. Also make sure to read the PDF of Wyden's child safety bill.
https://www.techdirt.com/articles/20220202/17411648407/senat...
Edit: They got other articles on the same topic, collected here: