A Windows PC refuses to lock a removable drive while an editor still has one of its files open. Elsewhere, a Mac user clicks Finder's eject icon and assumes the encrypted volume is now locked. Both situations mix together operations that answer different questions.
Can the file system safely stop using this volume? Can someone still access its BitLocker-protected contents? Is the whole USB device ready to disappear?
Those questions overlap during removal, but “lock,” “unmount,” and “eject” are not interchangeable labels for one green light.
Start with the layer you actually mean
Microsoft's description of manage-bde -lock is narrow: it locks a BitLocker-protected drive so that access requires the unlock key. Its documented example for a data drive is:
manage-bde -lock E:
Run this only for a volume you are authorized to manage, after replacing E: with the correct drive letter. I checked the syntax against Microsoft Learn; I have not run it against your disk, and the command above is an example rather than captured output.
Notice what that description does not say. It does not define the command as a universal hardware-removal ritual or as a substitute for closing applications. The security state of an encrypted volume and the removal state of a USB device are related, but they are not the same interface.
macOS makes another distinction visible in diskutil's own command list:
diskutil list external physical
# Unmount one volume:
diskutil unmount disk4s1
# Unmount every volume on one whole disk:
diskutil unmountDisk disk4
# Eject the disk:
diskutil eject disk4
These identifiers are placeholders. Use the identifier reported on your machine, not disk4 copied from this article. I verified these verb descriptions using the diskutil command list on macOS; I did not execute the state-changing examples.
unmount concerns one mounted volume. unmountDisk concerns all volumes on a disk. eject is the device-level operation. That difference matters for a multi-partition USB disk: finishing work in one Finder window says nothing about another mounted partition.
The file-system boundary comes first
Before worrying about the encrypted-volume state, stop the work that is using the files. Close documents, finish copies, and stop backup or indexing jobs that you control. A progress window disappearing is useful evidence, but it does not prove that no application retains a handle.
On macOS, a targeted lsof check can help identify ordinary user processes with open files beneath a mounted volume:
lsof +D /Volumes/WORK
Replace WORK with the real volume name. This is an inspection example, not a promise of complete coverage. Recursive traversal can be slow on a large tree, permissions can hide processes owned by other users, and a quiet lsof result is not proof that every kernel or background component has finished. It is a clue, not an eject mechanism.
If unmounting or ejecting reports that the volume is busy, treat that as useful information. Find the remaining user or job instead of escalating immediately to repeated forced operations. For valuable data, an unexpected busy error is a poor moment to experiment.
BitLocker sits below the file-system workload as an encryption layer. NTFS still has directories, metadata, cached work, and file handles to manage. Locking changes whether the protected volume can be accessed without an unlock key; it does not turn an unfinished application save into a completed backup. Conversely, a clean file-system unmount does not mean that BitLocker has been disabled or that the stored sectors have been decrypted.
This is also why “unlock, then pull the plug” is not a sensible shortcut. Unlocking grants access. It is the start of a work session, not the end of one.
Where macOS fits — and where it does not
macOS does not natively provide general BitLocker unlocking merely because diskutil can see an external partition. Device discovery, encrypted-volume unlocking, NTFS access, and device removal remain separate capabilities. A third-party tool may provide some of them, but diskutil eject disk4 is not an unlock command and cannot validate a recovery password.
The same separation is useful when moving a drive between Windows and macOS. On Windows, use the supported BitLocker controls to inspect or lock the protected data volume. On either operating system, close the workload and complete the normal unmount or safe-removal flow before disconnecting the hardware. If a tool supplies its own unmount procedure for a mounted encrypted volume, use that supported path rather than improvising several competing operations at once.
There is no need to decrypt a drive just to end a session. Locking and decryption are different decisions; removal adds a third. Conflating them can lead to unnecessary security changes, while ignoring the file-system layer can lead to avoidable interruption of active work.
One failure case is worth keeping in a troubleshooting checklist: a disk has two mounted volumes, only one is unmounted, and the user interprets the vanished Finder folder as proof that the entire USB device is idle. Another is an application that keeps a file open after its document window looks finished. Neither possibility is diagnosed by typing the same lock command again.
The practical order is less catchy than a single “safe” button: identify the disk, finish the file-system workload, set the intended encryption access state, then unmount or eject the intended volume or device. Check the result at that same layer.
We build DiskBee, an FSKit-based NTFS and BitLocker tool for macOS, so we try to keep those states explicit rather than hiding them behind a vague success message. Product information is available at the DiskBee site; no purchase is needed to use the command checks above.
Sources: Microsoft Learn — manage-bde lock, and the macOS diskutil built-in command descriptions. Confirm the current documentation, your authorization, and the exact drive or disk identifier before running any state-changing command.
Disclosure: this article is published by the DiskBee team.
Top comments (0)