Reason: you have some resources already in use. So you cannot delete it directly you need to check the resources running and delete them.
Solution: you need to delete the containers first then only the vault can be deleted. So the resources within the vault have to be deleted first. Then try to delete the resource group.
For more information, refer to this Azure Tutorial