hi Kwame! thanks for dropping this question ))
yes u can totally set up immutability policies on containers that already have data. microsoft docs confirm it https://learn.microsoft.com/en-us/azure/storage/blobs/immutable-storage-overview. the process itself is instant, no crazy waiting time. but here's the kicker, if u got tons of data (like those TBs u mentioned), the policy applies immediately, but existing blobs might take a bit to fully lock in. no exact ETA, depends on backend processes.
now, about empty containers vs full ones... honestly, it's cleaner to set it up before dumping data in. less weird edge cases, u know? but if u gotta do it retroactively, no sweat, just know u can't tweak retention periods after. once it's set, it's SET.
as well check this, if u use versioning, immutability applies to all versions. https://learn.microsoft.com/en-us/azure/storage/blobs/versioning-overview. worth looking into if u deal with frequent updates. Immutability isn't just an azure thing. other cloud providers handle it similarly, so the logic transfers.
Test this on a small container first. see how it behaves, then scale up. saves u from 'oh no' moments later )) aha, and dont forget, u need 'storage blob data owner' role to set these policies https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#storage-blob-data-owner
let me know if u hit snags,
rgds,
Alex