A fresh cup of coffee at 90 °C, in a room at 20 °C. Your friend arrives in 20 minutes, and likes it at 60 to 65 °C.
The coffee loses heat faster the hotter it is compared with the room. A lid slows that down.
Goal: Make sure the coffee is between 60 and 65 °C at minute 20, when your friend arrives.