Unlocking apps after x amounts of hours being productive

I would love to see a feature that would block apps and websites until youve been productive enough i.e x amounts of hours spent in selected apps (like notion, goodnotes, word etc.)