I lightly tap the top of the yoghurt lid with a spoon paying close attention to the corner that I am going to open.
This action theoretically removes the yoghurt near the lid that makes up the potential ejected matter. On opening the lid, the splatter caused by the pressure differential is greatly reduced.
Disclaimer: It sometimes dosent work.