{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreia3fvzul62bdwgsfqjihswewetfs5zqhhzisunbcy2pgw26edviea",
    "uri": "at://did:plc:jwdb7bjtowwidwbdey4s4xsd/app.bsky.feed.post/3mmibye4u3yy2"
  },
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreie3gpfdu5s5hzmmoajx2tgrqsdaxajhmq2wknkt6pscyumz6rg3me"
    },
    "mimeType": "image/jpeg",
    "size": 725378
  },
  "path": "/article/3147024/openai-codex-can-now-run-with-locked-macbooks.html",
  "publishedAt": "2026-05-22T16:02:38.000Z",
  "site": "https://www.macworld.com",
  "tags": [
    "AI, MacOS",
    "Macworld",
    "dummy display dongles",
    "Codex",
    "https://t.co/PCGK4i7FSF",
    "pic.twitter.com/956aAtM3vl",
    "May 21, 2026",
    "Codex documentation",
    "@OpenAIDevs"
  ],
  "textContent": "Macworld\n\nAI 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.\n\nSome developers turn to invoking a `caffeinate` 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.\n\n> Codex anywhere and everywhere, all the time.\n>\n> Now your Mac doesn’t have to be unlocked for Codex to use your computer.\n>\n> From your phone, Codex can securely use apps on your Mac, even when the screen is off and locked.https://t.co/PCGK4i7FSF pic.twitter.com/956aAtM3vl\n>\n> — OpenAI Developers (@OpenAIDevs) May 21, 2026\n\nIn 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.”\n\nFoundry\n\nOpenAI 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.",
  "title": "OpenAI’s Codex is now smart enough to control your Mac even when it’s locked"
}