Is togo in Africa landlocked?

no, there is a small coast line in the western side bordering the Atlantic ocean.