Hi @Zhuoling Li Thank you for posting your question on Microsoft Q&A.
You can use cosmos DB resource tokens to restrict users access to Azure Cosmos DB resources.
Resource tokens are used for this purpose. User just need to create a permission to access just the container A, that should automatically forbid access to the other two containers.
There is an example in the following documentation. This section specifically shows how to create permission to access a specific container. For the specific container user can either grant full access or read only access. : Learn how to secure access to data in Azure Cosmos DB | Microsoft Learn
Hope that helps
Regards,
Oury