VLAN Communication in same switch (2920)

Hi everyone,

I'm new on switching i've the basic knowledge on VLAN's. i'm tested my configuration but i think that is wrong because if i do a ping from PC1 to PC2 i've response. I don't want communication between that host

VLAN 1 - IP 192.168.1.1 (port 1-10 untagged)

VLAN 2 - IP 192.168.2.1 (port 11-20 untagged)

PC1 in VLAN 1 - IP 192.168.1.10 gateway 192.168.1.1

PC2 in VLAN 2 - IP 192.168.2.10 gateway 192.168.2.1

The routing is enable and i have a route static for internet 192.168.1.254.