2 Sources
[1]
OpenAI's Codex is now smart enough to control your Mac even when it's locked
OpenAI's Codex can now run on MacBooks with the screen off and locked. AI development is new and exciting, but while AI agents are doing their thing, you can end up waiting for a good amount of time. It's a nice opportunity to get up and go do something, but if your Mac goes to sleep, AI agents stop working. Some developers turn to invoking a session or using utilities to bypass the Lock Screen settings. Others use dummy display dongles to trick the Mac into thinking a display is attached, thus preventing sleep mode. But OpenAI announced a new capability in its Codex AI assistant that makes it even easier: Codex now has the ability to keep running after your Mac is locked. In Codex's settings, there is an option for Locked use, which does exactly what it says when you turn it on. An Apple authorization plug-in installs, and then Codex will keep running. According to OpenAI's Codex documentation, "Locked use is intentionally narrow. It's not a general-purpose remote-unlock path for your Mac, and it doesn't let other apps or local processes unlock the computer." OpenAI notes that this feature has some safeguards, including a short-lived authorization window, availability only to Codex, and coverage for every connected display. It also won't work when you shut your MacBook's display, which triggers a different sleep mode. But if you don't want a dongle or an app, this is a handy feature for OpenAI developers.
[2]
You can now send Codex tasks from your phone even when your Mac is locked
OpenAI's Codex app for Mac just got a major upgrade, and it's the kind that makes you feel like you're living in the future. You can now send Codex a task from your phone, and it will go ahead and use apps on your Mac, even if the screen is off and the computer is locked. One of the major issues with AI agents like Claude Cowork or OpenAI Codex is that they need your Mac to be unlocked and running for them to work. That's a major security flaw that will prevent most users from using these features. With its latest Codex update, OpenAI has seemingly fixed this issue. Recommended Videos A post on X from OpenAI Developers showed a locked Mac with a "Codex is Using Your Mac" overlay on the display. How does it actually work? For this feature to work, you need to install the Computer Use plugin and grant it the necessary permissions to run. You can find the locked computer use setting by going to Codex → Settings → Computer Use. After you enable it, you can send any task from your phone to your Mac, even when it's locked. When Codex receives the task, and it needs to access your Mac after it locks, it will temporarily unlock the computer in the background while keeping the screen protected. If it detects that someone has touched the keyboard or mouse, it will immediately relock the Mac and stop the automatic unlock until you manually log back in. That's a good safety net to have if your computer sits in a room accessible by other people. Should you be worried about security? OpenAI has built in several safeguards. Each unlock attempt is short-lived and scoped only to the active Codex task. Codex also covers every display while your desktop is temporarily unlocked, so no one nearby can sneak a peek at your screen. You also stay in control throughout the process. Codex asks for permission before operating each new app, and you can stop the task or take over your computer at any time. There's also an "Always allow" option for apps you fully trust. As for availability, the feature is not available in the European Economic Area, the UK, or Switzerland at launch. It also cannot automate Terminal apps, Codex itself, or any system-level admin prompts. OpenAI has built in enough protective measures to satisfy most users. Whether you decide to trust it enough to use it is up to you.
Share
Copy Link
OpenAI has upgraded its Codex app for Mac with a feature that lets the AI assistant run on locked MacBooks. Users can now send tasks from their phone to Codex, which will unlock the computer in the background while keeping displays covered. The update includes security features like permission requests and automatic relocking if keyboard or mouse activity is detected.
OpenAI has rolled out a significant update to its Codex app for Mac that addresses one of the most persistent challenges facing AI agents: the need for computers to remain unlocked during task execution. The new capability allows OpenAI Codex to run on locked MacBooks, fundamentally changing how developers and users interact with the AI assistant
1
.Previously, AI agents would stop working when a Mac entered sleep mode, forcing developers to employ workarounds like invoking sessions, using utilities to bypass Lock Screen settings, or even installing dummy display dongles to trick the Mac into thinking a display remained attached. These makeshift solutions are now unnecessary with Codex's locked use feature, which can be activated directly in the app's settings
1
.The functionality extends beyond simply keeping Codex active on a locked machine. Users can now send tasks from their phone to their Mac, and the AI assistant will execute them even when the screen is off and the computer is locked
2
. This remote capability transforms Codex into a truly flexible automation tool that doesn't require constant physical access to the computer.
Source: Macworld
To enable this feature, users must install the Computer Use plugin and grant necessary app permissions. The setting is accessible through Codex → Settings → Computer Use. Once activated, Codex can unlock the computer in the background while keeping displays protected when it needs to access the Mac after it locks
2
.OpenAI has implemented multiple safeguards to address potential security concerns. According to the company's documentation, the locked use feature is "intentionally narrow" and not designed as a general-purpose remote-unlock path for the Mac
1
. The authorization window is short-lived and scoped only to active Codex tasks, with availability limited exclusively to the Codex app for Mac1
.When Codex temporarily unlocks a Mac, it covers every connected display to prevent anyone nearby from viewing the screen. If the system detects keyboard or mouse activity, it immediately relocks the Mac and stops automatic unlock attempts until the user manually logs back in
2
. This provides a critical safety net for computers in shared spaces.Related Stories
User control remains central to the feature's design. Codex requests permission before operating each new app, and users can stop tasks or take over their computer at any time. An "Always allow" option exists for apps users fully trust, streamlining the automation process for frequently used applications
2
.The feature does have limitations. It won't work when a MacBook's display is physically shut, as this triggers a different sleep mode
1
. Additionally, Codex cannot automate Terminal apps, itself, or any system-level admin prompts2
.The feature faces geographical restrictions at launch. It is not available in the European Economic Area, the UK, or Switzerland
2
. These limitations likely reflect ongoing regulatory considerations around AI automation and data privacy in these regions.For developers and power users who have long struggled with the constraint of keeping their Macs awake during lengthy AI agent tasks, this update represents a practical solution. The balance between automation convenience and security will determine whether mainstream users adopt the feature, but OpenAI's implementation suggests careful consideration of the risks involved in granting AI agents this level of system access.
Summarized by
Navi
14 May 2026•Technology

17 Apr 2025•Technology

04 Mar 2026•Technology

1
Policy and Regulation

2
Science and Research

3
Technology
