Guidesclaude code lock screenclaude code lock screen statusclaude code live activity lock screen

Claude Code on Your Lock Screen: The Complete Setup Guide

How to see live Claude Code status on your iPhone Lock Screen — what a Live Activity shows there versus the Dynamic Island, how to enable it, and why the card sometimes goes blank.

Ian Brillantes · Founder & iOS EngineerJuly 12, 20265 min read

Quick answer

To see Claude Code status on your Lock Screen, you need a Live Activity, not just a notification. Turn on Live Activities (Settings → Face ID & Passcode → Live Activities, plus the per-app toggle), make sure the app that receives your Claude Code hooks is allowed to show them, and start a session. The card then sits on the Lock Screen and updates in place — running, needs-you, done — without unlocking your phone.

You start a long Claude Code task, put your phone face-up on the desk, and want to know its state at a glance — without a stream of banners and without unlocking anything. That's a Live Activity on the Lock Screen, and it's a different thing from a notification. This guide covers what shows up there, how to turn it on, and what to do when the card goes blank.

Lock Screen card vs. notification vs. Dynamic Island

These get conflated constantly, so it's worth being precise:

| | What it is | How long it lasts | |---|---|---| | Notification | A one-off banner ("agent finished") | Disappears after you glance at it | | Lock Screen Live Activity | A card that stays and updates in place | Persists through the session | | Dynamic Island | The compact pill version of that same Live Activity | Shows while the phone is unlocked and in use |

The key insight: the Lock Screen card and the Dynamic Island are the same Live Activity, just rendered differently depending on whether your phone is locked or in your hand. You don't set them up separately. If your phone has no Dynamic Island, the Live Activity simply lives on the Lock Screen — you lose nothing important.

Info

A notification tells you something happened. A Live Activity tells you what's happening right now. For monitoring a running agent, you want the second one — a card you can read off a locked screen from across the desk.

Enable Live Activities (the toggles that matter)

Live Activities have their own switches, separate from standard notifications, which is why a banner can work while the Lock Screen stays empty. Turn them all on:

  1. Global switch: Settings → Face ID & Passcode → scroll to Live Activities and make sure it's on. (This also controls whether they appear on the Lock Screen while locked.)
  2. Per-app switch: open the settings for the app that receives your Claude Code status and confirm its Live Activities toggle is on.
  3. Notifications, too: the app should still be allowed to send notifications (Settings → Notifications), since the initial "session started" push is often what launches the Live Activity.

Once those are on, start a Claude Code session that pushes status through a hook. Within a second or two of the first update, the card appears near the bottom of the Lock Screen and refreshes as the agent moves between states.

What the card actually shows

A well-built Claude Code Live Activity uses the Lock Screen's space to answer the only question you care about mid-task: does this need me yet? Typically that's a status line (running / needs you / done), what it's waiting on (for example, a permission prompt like Allow: npm test?), and enough color to read it at a glance — no unlocking, no app-switching.

Stop babysitting your terminal

Agentfy pushes Claude Code status to your iPhone — Live Activities, Dynamic Island, and instant alerts.

Download Agentfy

StandBy: turn your phone into an ambient status display

If you charge your iPhone on its side (a stand, a dock), StandBy can promote Live Activities to a full-screen view. Prop the phone next to your keyboard and the Claude Code card becomes an ambient monitor — glance over, see the state, keep working. It's the same Live Activity under the hood, so if the Lock Screen card works, StandBy will show it when StandBy is active.

When the Lock Screen card is blank or stale

Work through these in order — it's almost always one of the first three:

  • Live Activities are off. Re-check both the global switch (Face ID & Passcode) and the per-app toggle. This is the number-one cause of an empty Lock Screen while banners still arrive.
  • A Focus mode is hiding it. Do Not Disturb, Sleep, or a Work Focus can suppress the card. Add the app to the Focus's allowed list.
  • Updates aren't reaching the phone. If the card appears but never changes, the session's status pushes aren't getting through — the hook may not be firing, or the token may be stale. See Claude Code notifications not working for the full checklist.
  • The activity expired. iOS ends Live Activities after several hours, and they don't survive a reboot. A marathon session can outlive its card; starting a fresh session brings it back.
Heads up

Live Activities and standard notifications have independent toggles, so fixing one doesn't fix the other. If your banners work but the Lock Screen is blank, the problem is almost always the Live Activities switch — not your hooks.

How this fits together

The Lock Screen card is one face of Claude Code's Live Activity; the Dynamic Island is the other. If you want the full picture of how the persistent status works — including the Dynamic Island's compact and expanded states — read the companion guide below. And if you're just getting started, the iPhone pillar walks through the whole setup from zero.

Claude Code Live Activities & Dynamic Island

How the persistent status card works across the Lock Screen and Dynamic Island.

Read

If you'd rather not wire this up by hand, Agentfy ships Live Activities out of the box (Pro) via an open-source Claude Code plugin that installs the hooks for you. See the Claude Code on the Lock Screen page for a quick overview.

About the author

Ian Brillantes · Founder & iOS Engineer

Ian is the founder of Agentfy and a senior software engineer who lives in Claude Code daily. He builds the hooks-to-push-notification pipeline behind Agentfy and writes these guides from the same multi-agent workflow they describe.

Part of Claude Code on Your iPhone

More guides in this series

Frequently asked questions

How do I get Claude Code status on my Lock Screen?+
You need a Live Activity rather than a standard notification. A notification is a one-off banner; a Live Activity is a card that stays on the Lock Screen and updates in place. Enable Live Activities under Settings → Face ID & Passcode → Live Activities and in the per-app settings, then start a Claude Code session that pushes status through a hook. The card appears near the bottom of the Lock Screen and refreshes as the agent's state changes.
What's the difference between the Lock Screen card and the Dynamic Island?+
They're two presentations of the same Live Activity. The Lock Screen card is the large, glanceable version you see when the phone is locked; the Dynamic Island is the compact pill around the front camera you see when the phone is unlocked and in use. iOS decides which to show based on device state — you don't configure them separately. On phones without a Dynamic Island, the Live Activity still shows on the Lock Screen.
Why is my Claude Code Lock Screen card blank or not updating?+
The most common causes are that Live Activities are turned off (globally or for that app), a Focus mode is hiding it, or the session's updates aren't reaching your phone. Live Activities also expire after several hours and end when the phone reboots, so a very long-running session can drop its card. Check the Live Activities toggles first, confirm your Focus filters allow the app, and make sure the hook that pushes status is actually firing.
Does the Lock Screen card work in StandBy mode?+
Yes. When your iPhone is charging on its side, StandBy can surface Live Activities full-screen, which turns a phone on your desk into an ambient status display for your Claude Code session. It relies on the same Live Activity — if the Lock Screen card works, StandBy will show it too when the conditions for StandBy are met.
Do I need to unlock my phone to see the status?+
No — that's the entire point of a Live Activity. The card lives on the Lock Screen and updates without any interaction, so you can glance at a locked phone on your desk and know whether the agent is running, waiting on you, or finished. Unlocking only matters if you want to tap through to the app for more detail.

Related articles

Ready to stop babysitting your terminal?

Agentfy pushes Claude Code status to your iPhone — Live Activities, Dynamic Island, and instant alerts. Set up in under a minute.

Download Agentfy