Meaning of “keep a straight face” - Learner’s Dictionary

keep a straight face

to manage to stop yourself from smiling or laughing:

I can never play jokes on people because I can't keep a straight face.

(Definition of “keep a straight face” from the Cambridge Learner’s Dictionary © Cambridge University Press)