2014 Subaru Forester- Light, but dealer can't find issue

Dash board light comes on reads liquids overheated and locks the transmission and shuts the car off. It’s sits for about an hr and then starts as usual. Dealer can find nothing wrong.

Check engine light?
Did dealer give you the error code?
Will be in the form P1234, P0987 etc.