Why does synapse act as a one-way valve?

Synapse acts as a one-way valve because neurotransmitter is secreted at the terminal knobs of
axon only while, the dendrite membrane (post-synaptic membrane) has the specific protein receptor molecules to break this neurotransmitter.