Check out ScreenZen, it doesn’t work with general unlocks but you can set it to add similar mindfulness reminders for specific apps or categories of apps. Been using it a few weeks and a fan.
+1
it's pretty easy to work around but all I generally need is something to knock me out of my flow.