Per VLAN Spanning Tree (PVST)

I flow the reason for the use of PVST and how to identify RP,D,B for the each vlan. If I have all switches in the same VTP domain is there a way to have VTP suppress passing VLAN 10 to C or do I just have A as the server, B as a client and C set to transparent.

I tried using switchport trunk allowed vlan except 10 on C’s trunk links but VTP passes the VLAN to C.

Just wondering if there is another way other than changing C to transparent mode.

Thanks