I would use a small amount of hot glue on the cord of the probe. hot glue come off easy, so you will be able to remove it when the time comes.
another possible option:
my thermometers have probes with a screw hole in them.
if yours do too, you can just screw them into place.