Q: Does the word "custody" mean the same thing in "He was mistreated while in police custody." and "The suspect is in custody."?

A: different meanings

Q: Does the word "keep" mean the same thing in "The family's fortune waned and they could not keep their household staff." and "Our grant has run out and we can not keep you on."?

A: the same meaning

Q: Does the word "keep" mean the same thing in "Keep potatoes fresh." and "I can not keep track of all my employees."?

A: different meanings

Q: Does the word "way" mean the same thing in "Come this way and I'll show you a shortcut." and "Do you know the way to the airport?"?

A:
the same meaning