Skip to main content
    TekSure
    Step 1 of 4
    Mac Guides
    Intermediate
    1 min read 4 stepsJanuary 30, 2026Verified January 2026

    How to Lock and Unlock Files on Mac

    Protect important files from accidental changes by locking them in Finder.

    1

    Lock a file

    ~15s
    Right-click a file → Get Info (or +I). Check the "Locked" checkbox at the top.
    2

    Understand locked behavior

    ~15s
    Locked files can't be edited or deleted without confirming. They show a lock icon in Finder.
    3

    Unlock a file

    ~15s
    Open Get Info again (+I) and uncheck the "Locked" checkbox.
    4

    Lock via Terminal

    ~15s
    For advanced users: use "chflags uchg filename" to lock and "chflags nouchg filename" to unlock.

    You Did It!

    You've completed: How to Lock and Unlock Files on Mac

    Need more help? Get Expert Help from a TekSure Tech

    Rate this guide

    How helpful was this guide?

    intermediate
    mac
    files
    lock
    protection

    Official Resources

    Sources used to create and verify this guide. View all sources →

    Still stuck? Let a pro handle it.

    Our verified technicians can fix this issue for you — remotely or in person.

    How to Lock and Unlock Files on Mac — Step-by-Step Guide | TekSure