Open a window Soli. Fresh, cool air should help you keep from yawning.

Yawning means you need more oxygen. You might be going into a sort of trance from the warmth of the room and that slows your breathing and your body is responding to needing more oxygen by making you yawn.