Store knives high, out of sight, and behind something that needs a deliberate action to open. Locked is better than latched, latched is better than closed, and closed is better than a drawer at waist height. Then teach, because storage alone stops a toddler and not a curious ten-year-old.
A locking cabinet or a lockable case is the strongest answer, and it also protects the knives. Failing that, high shelves out of sight, or a drawer with a childproof latch. A magnetic knife strip on a kitchen wall should be well above reach.
Keep collections in a closed case rather than an open display where a child can lift a piece off. See displaying a collection safely.
Every fixed blade in storage should be sheathed and every folder closed. That is a second layer, not a first one, but it turns a possible cut into a probable non-event.
Do not store sharp things loose in a drawer among other objects, which is a hazard for adults too.
Physical measures buy you the early years. From the point a child can reach and open things, the real protection is having taught them what a knife is and that they ask before touching one.