Yes, you should put lids on all hamster cages if possible as they are very good escape artists. Even if it looks like they can't escape they can pile up the substrate or block the wheel so they can climb up it. I'd always give a cage a lid just to be on the safe size.