Question: Here is one sentence: There shouldn't be more than two dozens.
Here is another sentence: Pack the shirts in dozens, please.
Does the dozen mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: The horse won by a neck.
Here is another sentence: The bottle had a wide neck.
Does the neck mean the same thing in the two sentences?

Answer: different meanings

Question: Here is one sentence: The banjo had a long neck.
Here is another sentence: The bottle had a wide neck.
Does the neck mean the same thing in the two sentences?

Answer: the same meaning

Question: Here is one sentence: This dough does not work easily.
Here is another sentence: Work the raisins into the dough.
Does the work mean the same thing in the two sentences?

Answer:
different meanings