B.C.
I have a BIG age gap between my kids they are currently 3, 10 and 14...so this has been an issue for us multiple times. My suggestions are similar to some of the other posts...choking hazard toys can be relegated to sissy's room with no brother. Or if she cannot be trusted not to drag them around maybe they do need to go up...if you keep the little things in a container on the top of the fridge then she can have supervised play in the kitchen ( we baby gated ours off)
say on the kitchen table. 5 is old enough to understand the risk...I did buy a caboodle way back when for her to put little things in but another option that works is a craft box or even a fishing lure box because my daughter
seemed to think picking up little things was fun if she could put them into individual compartments.