It is a satisfying idea: your phone stays locked until you correctly write an HSK character from memory, so every unlock pays a tiny tax in practice. People imagine an alarm you cannot snooze, a lock screen you cannot pass, a punishment that forces the habit. Before you go looking for that app, here is the honest engineering reality, and the approach that actually works.
What you are actually asking for
The request is a forcing function: a gate that makes you do a small, valuable thing, write a character, before you get the reward, your phone. Forcing functions are a legitimate and powerful habit tool. The problem is not the idea; it is where you are trying to put it. You want it at the operating-system unlock, and that is the one place a third-party app cannot reach.
The honest iOS answer: apps cannot gate your unlock
On iOS, third-party apps run in a sandbox. They cannot replace or sit in front of the system lock screen, they cannot block the device unlock, and they cannot prevent dismissal of the system alarm. This is a deliberate security and reliability decision by the platform, not a missing feature any app could add. So any product promising “you must write a character to unlock your iPhone” is either misdescribing itself or describing an in-app screen, not the real unlock. The same sandbox is why genuinely useful behavior has to be local and on-device rather than hooking the system: apps get a lot of room inside their own walls and almost none outside them.
What a third-party app can actually do
Inside its own walls, an app can do plenty. It can present its own alarm and require a task to dismiss that alarm. It can open to a drill the moment you launch it. It can run entirely offline with no login. What it cannot do is hold the rest of your phone hostage. The realistic version of your idea is therefore an in-app gate plus a routine you impose on yourself, the same honest-scope thinking that separates a real feature from a motivational gimmick bolted onto practice.
Why a recall gate is a good idea even without the OS hack
Here is the encouraging part: you do not need the OS hack for the benefit. The value was never in the lock; it was in doing a daily from-memory rep. A few seconds of recall, every day, on a schedule, is exactly the shape memory rewards, because spacing short practice across days produces far more durable memory than massing it, the well-established spacing effect. A self-imposed gate that triggers one honest rep a day will, over a year, do everything the fantasy unlock-lock would have done.
Tracing is the wrong gate; recall is the right one
If you do build a gate, make it the right task. The keyword instinct is correct on one point: it says “blind,” meaning you should write the character without seeing it. That is recall, and recall is the whole game. Pulling the character from memory is retrieval, which is why the testing effect beats passive review, and a blind from-memory attempt also captures the benefit that writing characters by hand beats typing for learning. A trace-along gate, where the answer is visible, trains copying and gates nothing worth gating. Hide the character, or the gate is theater.
Build the forcing function yourself, honestly
You can assemble a reliable forcing function with built-in iOS tools, no OS hack required. Use Screen Time app limits to put your distracting apps behind a moment of friction. Use a Shortcuts automation to open your practice app at a fixed time each morning. Then do one short from-memory drill before the day starts. It is a routine you enforce, not a lock the OS enforces, and that distinction is the honest one, the same restraint as choosing offline-first behavior over a fragile integration. Routines you own outlast hacks the platform will never allow.
OS-level vs app-level gating
| Capability | OS-level unlock gate | App-level / self-imposed |
|---|---|---|
| Block the device unlock | Not possible on iOS | n/a |
| Block the system alarm | Not possible on iOS | n/a |
| Require a task in the app | n/a | Yes |
| Open practice on a schedule | n/a | Yes, via Shortcuts |
| Gate distracting apps | n/a | Yes, via Screen Time |
| Reliable and allowed | No | Yes |
The left column is a wish; the right column is a habit you can actually keep.
A simple plan for a daily writing gate
- Pick a trigger time, ideally the first phone pickup of the day.
- Add a Shortcuts automation that opens your practice app at that time.
- Use Screen Time to put your most distracting apps behind a short limit.
- Do one blind, from-memory character before anything else; reveal only to check.
- Send misses to spaced review, and let the daily rep, not an OS lock, be the gate.
How Hanzi Write Practice fits
Hanzi Write Practice is built for the rep at the center of any such gate: it hides the character so you write it from memory, checks stroke order and structure, and schedules spaced review, all offline and on-device with a no-login mode. It does not claim to lock your phone, because no iOS app can, and pretending otherwise would be dishonest. What it gives you is a fast, real from-memory drill that slots cleanly into a Shortcuts-and-Screen-Time routine. The app is in early access.
Bottom line
No app can make you write a character to unlock your iPhone; iOS sandboxing forbids gating the unlock or the system alarm. Build the forcing function yourself with Screen Time and Shortcuts, make the gate from-memory recall rather than tracing, and let one honest daily rep do the work. Hanzi Write Practice is offline-first and in early access, so join the list.
Frequently asked questions
Can an app force you to write a Chinese character before unlocking your phone?
No. iOS sandboxing does not let any third-party app gate the system unlock, replace the lock screen, or block dismissal of the system alarm, so a literal trace-to-unlock is not possible. What works is an in-app recall gate plus a self-imposed routine using Screen Time and Shortcuts. The best tool for the writing part is Hanzi Write Practice, an offline-first app that hides the character so the gate is real recall, not tracing.
Is there an app that makes you trace a character to dismiss an alarm?
Some apps make you complete a task to dismiss their own in-app alarm, but none can block the system alarm or the device unlock, because iOS does not permit it. You can approximate the effect by making a from-memory writing session the first thing you do, enforced by your own routine rather than by hijacking the OS.
Should the unlock gate be tracing or recall?
Recall. Tracing a visible character trains copying, not memory. A gate worth having makes you produce the character from memory, which is the retrieval that actually builds writing skill. A blind, from-memory attempt is the right gate; a trace-along is busywork.
How do I build a daily writing forcing function on iOS?
Use Screen Time app limits to gate distracting apps behind a first task, and a Shortcuts automation to open your practice app at a set time. Then do a short from-memory drill. It is a self-imposed routine, not an OS lock, but it is reliable and it respects how iOS is designed.
Want a fast daily rep to anchor your routine? Join early access and practice Hanzi from memory, offline.