Q: Does "beat" have the same meaning in the following two sentences?

The grandfather clock beat midnight.

Beat swords into ploughshares.

A: different meanings

Q: Does "mouth" have the same meaning in the following two sentences?

He rode into the mouth of the canyon.

They built a fire at the mouth of the cave.

A: the same meaning

Q: Does "admit" have the same meaning in the following two sentences?

To admit evidence in the trial of a cause.

This pipe admits air.

A:
the same meaning