Does "keep" mean the same thing in these two sentences?

I keep my specimens under glass to protect them.

Keep smiling.

OPTIONS:
- different meanings
- the same meaning
the same meaning
Betyder "håll" samma sak i dessa två meningar? Jag har mina prover under glas för att skydda dem. Fortsätt le. Alternativ: - olika betydelser - samma betydelse
Does "hold" mean the same thing in these two sentences? I have my samples under glass to protect them. Keep smiling. Option: - different meanings - same meaning
samma betydelse
the same meaning