A landlocked country is one that does not have any coastlines or direct access to the ocean.
Among the options, Nepal is the only landlocked country. It is entirely surrounded by India and China, with no coastline.
India, Brazil, and South Africa all have coastlines and direct access to the ocean.