Instantly lock your Mac and disable Touch ID with one click
I

Instantly lock your Mac and disable Touch ID with one click

Instantly lock your Mac and disable Touch ID with one click

CLI
418 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

PanicLock: Instantly Lock Your Mac and Disable Touch ID

Ever need to step away from your Mac in a hurry, but don't trust a simple lock screen? Maybe you're in a public space, about to hand your laptop to IT support, or just want that extra layer of security that even biometrics can't bypass. The standard Ctrl+Cmd+Q shortcut locks your screen, but it leaves Touch ID enabled for a quick return. What if you need to truly lock things down?

Enter PanicLock. It's a clever, open-source utility that solves this exact problem with one click or a keyboard shortcut.

What It Does

PanicLock is a lightweight menu bar app for macOS. With a single click on its icon (or by using a global keyboard shortcut you set), it does two things immediately:

  1. Locks your Mac's screen, just like the standard lock function.
  2. Critically, it disables Touch ID for unlocking. The only way back in is with your password.

It's a "panic button" for your Mac's security, forcing a password authentication the next time someone tries to get in.

Why It's Cool

The magic isn't just in the idea, but in the clean implementation. PanicLock doesn't require special permissions or run as a background daemon. Instead, it uses a built-in macOS command, bioutil, to toggle the state of the Touch ID sensor directly.

This approach makes it:

  • Lightweight: It's a simple Swift application that performs a single task well.
  • Transparent: The source is available, so you can see there's nothing shady happening.
  • Developer-Friendly: It's a great example of solving a real-world problem with a minimal toolchain and a smart use of system utilities.

The use cases are pretty clear: open office environments, travel, sensitive work, or just moments when you want that absolute certainty that your password is required to proceed.

How to Try It

You have a couple of options:

  1. Download the App: The easiest way is to grab the latest pre-built release from the PanicLock GitHub Releases page. Just download, drag to your Applications folder, and run it. You'll see its icon (a lock) appear in your menu bar.

  2. Build from Source: If you prefer, you can clone the repo and build it yourself in Xcode.

    git clone https://github.com/paniclock/paniclock.git
    cd paniclock

Did you like this issue?

Join our weekly newsletter

Related Projects

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: Apr 18, 2026