Skip to main content
    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.

    At a Glance

    Category
    Mac Guides
    Difficulty
    Intermediate
    Read Time
    1 min read
    Steps
    4
    Topics covered
    intermediate
    mac
    files
    lock
    protection
    1

    Lock a file

    ~15s
    Right-click a file → Get Info (or Cmd+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 (Cmd+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 finished reading: How to Lock and Unlock Files on Mac

    How well did this guide stick with you?

    Need more help? Book 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.

    A real person can walk you through this over the phone, anywhere in the US. If we can't fix it, you don't pay.