A cardboard safe may seem like a ridiculous undertaking, because it cannot resist physical impact. The idea itself is interesting, the implementation of the mechanism and understanding of its principle. A good educational craft to make it with your child and just an interesting pastime.
Having made a cardboard copy of the safe, you can try to realize this idea from more durable material, including sheet steel.