If you shutdown interface vlan 20 then that is the layer 3 communication you are disabling. Hosts would still be able to communicate within the same vlan but there would be no routing that could occur between vlans.
Shutting down vlan 20 would be layer 2 communication that you would disable.