Internal Disk is locked and Erasing is taking for ever I recently got an iMac they did erase the internal drive for me but for making sure every step is correct I tried to erase the internal drive myself from recovery mode before reinstalling the macOS.
but this time it stocked on erasing exactly on the &quot;Deleting volume&quot; step.
I waited for more than 15 hours but the progress bar was 0%

then I gave up and restart the iMac, this time I tried to reinstall from recovery mode, but this time in choosing the installation disk, I saw it's grayed and says &quot;this drive is locked&quot;.
the only solution I found for the locked drive was to erase it again. but my erasing has problem as I said
thanks to my friend @At0mic who commented on my question.
by choosing &quot;Show All devices&quot; I was able to erase the parent disk and that went smoothly
and now I'm in the installation process :)))