Hello @ADM_Vineeth Siripuram ,
Lock will be used only to lock the parent resources , in this scenario only storage accounts will be locked from deletion. It can't be used to lock individual blobs or containers within an Azure Storage account.
i.e. locking a storage account does not protect containers or blobs within that account from being deleted or overwritten. For more information about how to protect blob data, see Data protection overview. ( See below links)
Moreover , to lock individual blobs or containers within an Azure Storage account, you can either use Shared Access Signatures (SAS) with appropriate permissions, or use Azure role-based access control (RBAC) to manage access to the storage account and its contents. You can also use Azure Policy to enforce specific rules and restrictions on the storage account and its contents.
Additional information available here:
https://learn.microsoft.com/en-us/azure/storage/blobs/data-protection-overview
Data Protection options: (Container Soft delete , Blob Soft Delete , Blob versioning etc)
Regards,
Shiva.