Parental Controls not restrict Terminal Commands?
Well, allowing all commands would probably allow your child to bypass some or all of the other Parental Controls on the system. Perhaps a simple Linux Virtual Machine without networking capabilities would suit your purposes better? Your child wouldn't be able to bypass any settings on the host machine and if they break the VM, it's trivial to fix/reinstall.