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
[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
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

02 Jun 2026•Technology

17 Apr 2025•Technology

1
Science and Research

2
Technology
3
Technology