Here is my design of a small travel puzzle including a case that closes securely with a magnet, and opens/closes using a filament hinge mechanism. Just clean up the holes a bit and insert filament carefully. Printing in different colors gives it a nice appearance.
You will need to use superglue and to fix and insert the 2 magnets (6mm diameter, 3mm thick) into the cavities. Check correct polarity first :-)
As small pieces can be dangerous to small kids, make sure your kids are old enough when playing with this. Usage at own risk.
The author hasn't provided the model origin yet.