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

A congregation is a vehicle of group identity.

The play was just a vehicle to display her talents.

A: the same meaning

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

He has a sinister smile.

She had a smile on her face.

A: the same meaning

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

The expanded window will give us time to catch the thieves.

They had a window of less than an hour when an attack would have succeeded.

A:
the same meaning