Part of 3 Blue 1 Brown's excellent latest video simulates travel restrictions and suggests they're not very effective: https://youtu.be/gxAaO2rsdIs?t=777 . However, that was only for cutting travel between all communities by a factor of 4, rather than completely banning travel between two particular communities / countries.