i wasn’t able to see the race, that being said, if he held up another car yes, if he was alone, no...
now i REALLY want to see the race
It was a safety car box, Botas was in the pit, and Hamilton was coming in with one of the Red Bulls ( Ricciardo I think) and a couple of other cars behind, and Mercedes was stacking their two drivers with a stupidly long pit stop by Botas.
It appears that Hamilton was slowing down on pit lane to allow Botas to clear the pit without having to stop behind Botas. But it also delayed Red Bull from getting their car in and out faster as well, and Red Bull was in the hunt for a podium position at the time.
Hamilton had a stellar drive at the end, and without the 5 second penalty he may have had a few hard laps at Vettel.
If you can find it, it’s worth a watch.