Lock Dock Items

Stop Dock icons moving or vanishing.

macOS lets you delete a pinned app from the Dock with a single careless drag — no confirmation, no undo prompt. Lock Dock Items freezes your layout so what you pinned stays pinned, in the order you put it.

How do you stop apps disappearing from or moving around the Mac Dock?

macOS removes a pinned app from the Dock as soon as you drag its icon far enough away, and it reorders icons on any sideways drag. There is no confirmation step and no setting to require one. DockLockr is a macOS menu-bar app whose Lock Dock Items option blocks both: while it is on, pinned apps cannot be added, removed, or reordered, though clicking, launching, right-click menus, and the Recents and Trash groups all work normally. DockLockr costs $9.99 one-time, runs on macOS 15 or later on Apple Silicon, and has a 3-day free trial.

Price
$9.99 one-time (no subscription)
Free trial
3 days, no card required
Requires
macOS 15 or later, Apple Silicon
Licence covers
Up to 3 devices
Distribution
Signed, notarised .dmg (not Mac App Store)

Two ways the Dock loses your layout

The first is removal. Drag a pinned icon far enough from the Dock and macOS takes that as “remove this,” complete with a puff of smoke. There is no confirmation dialog and no setting to require one. The gesture is a normal drag, so it happens most often when you meant to do something else entirely — reordering, or just clicking imprecisely on a trackpad.

The second is quieter: reordering. The Dock interprets horizontal movement during a click as a request to move that icon. Because a click and a very short drag are nearly indistinguishable, your carefully arranged order drifts over weeks without any single moment where you notice it happening. Eventually the icon you reach for by muscle memory isn't where your hand expects it.

Both are the same design decision: the Dock is built for direct manipulation, and direct manipulation has no undo.

What Lock Dock Items does

With the lock on, your pinned set and its order are fixed. Dragging an icon out won't remove it. Dragging one sideways won't reorder it. Nothing can be added to the pinned layout either, so an installer that helpfully pins itself finds the door closed.

What doesn't change is everything you actually use the Dock for. Apps still launch on click. Right-click menus still open. Running apps still appear while they're running, and their indicator dots still work. You can still drop a file onto an icon to open it with that app, and the Recents, Files and Trash groups behave exactly as before.

Who this is for

It tends to matter most in three situations. On a trackpad, where small movements during clicks are unavoidable and accidental drags are frequent. On a shared or family Mac, where someone else's tidying becomes your missing app. And on managed machines, where a standard Dock layout is part of how the setup is meant to work.

Turning it on

  1. Arrange your Dock the way you want to keep it.
  2. Click the DockLockr lock icon in your menu bar.
  3. Switch on Lock Dock Items.

To rearrange later, toggle the lock off, make your changes, and toggle it back on. If accidental resizing is also a problem for you, pair this with Lock Dock Size, which makes the Dock's resize handle inert.

Questions about Lock Dock Items

The other two locks

Each lock is an independent toggle. Use one, use all three.