Work / Up Lock

Up Lock

An iPhone app that blocks distracting apps until you do a set of push-ups, squats or jumping jacks. The camera counts reps on the phone itself and a finished set unlocks the app for a timed window, with daily limits, streaks, stats and a subscription. For anyone who wants their phone to cost them something.

See it
Store graphic: a figure doing squats in a bedroom while the app counts 12 of 20 reps towards unlocking Instagram. Today screen: 102 of 120 reps done, a 50-day streak and 80 minutes earned, with Instagram, TikTok, YouTube and Snapchat locked at 10 reps each. Choosing a workout to unlock TikTok: 10 push-ups, 30 jumping jacks or 20 squats, with jumping jacks selected and a Start button. App locked screen shown over a blurred Instagram: 10 push-ups, 20 squats or 30 jumping jacks to open, with an I'll earn it button. Unlocked screen with a green tick: Instagram is open and 18 minutes of screen time have been earned. Progress screen: level 18 with 5,382 XP, 390 reps this week, 6 hours 58 minutes reclaimed, a 50-day streak and 124 calories. Achievements grid of 22 badges, from Warming Up and First Five to Thousand Club, with the unearned ones greyed out. Reality check screen: you guessed 2 hours 45 minutes a day, the average is 4 hours 30, which is 68 days a year spent scrolling.

Screens from the App Store listing. Rep counting runs on the phone; nothing is uploaded.

Download on the App Store

What was measured
~145Tests, each anti-cheat rule with one of its own
10 + 18Dated design specs and implementation plans written before the code
0.35 / 0.70Hysteresis thresholds on the elbow signal: a rep must drop below one and rise above the other
10,000Views passed in the first week, from four TikTok posts a day
Anti-cheat ruleTest that pins it
Standing in front of the phone and waving is not a push-uppushupStandingFakeIsRejected
A real push-up counts even when the hips are out of framepushupArmsOnlyNoHipsCountsTheRep
Jitter inside the dead band never flips the counterdeadBandJitterDoesNotCount
What the AI got wrong, and how it was fixed

The pose model does not know what a push-up is. Apple's Vision model gives you joints, not exercises, so the first version counted anything that bent an elbow, including standing in front of the phone and waving. A rep is now defined in terms the model understands: elbow angle mapped to a 0 to 1 signal, which has to drop below 0.35 and rise above 0.70, with a dead band in between so jitter cannot flip it and a half-second floor so a twitch cannot double count.

The first anti-cheat rule overcorrected. To prove you were horizontal it required the hips to be visible. Real push-ups then stopped counting, because when the phone is on the floor your legs are out of frame. Fixed on 25 June: standing is rejected only when a visible cue positively shows it, a torso near vertical or a nose well above the shoulders, and never because a joint is missing. The rule that broke real reps became the test pushupArmsOnlyNoHipsCountsTheRep.

Each rule has a test, named for the thing it stops. pushupStandingFakeIsRejected, pushupArmsOnlyNoHipsCountsTheRep and deadBandJitterDoesNotCount pin the three rules above, so a change to the counter that re-breaks one of them fails before it ships. Rep counting runs on the phone and nothing is uploaded.

← Back to all work