As an example, Austria is landlocked. France is not landlocked because it has access to the Mediterranean and the Atlantic Ocean. A sea is also landlocked if does not have access to an ocean. This is also called an endorheic basin. As an example, the Caspian Sea is landlocked. The Gulf of Mexico is not landlocked because it has access to the Atlantic Ocean.