What aspect of Japan’s geography made it fairly easy to prohibit Europeans from entering the country ?

What aspect of Japan’s geography made it fairly easy to prohibit Europeans from entering the country ?