If you have multiple children, what did you do with small toys (from older sibling) once your younger one became more mobile?

My older one has some toys that aren't very baby friendly, of most concern is probably legos. What did you do to keep LO safe, but without taking all of your older one's toys away?