Be Serious is an iPhone habit app (iOS 18+) that locks the apps you choose with Screen Time until you complete your habits, then lets you earn minutes back. $12/month subscription, no free trial.
App Store: https://apps.apple.com/us/app/be-serious/id6780290656