Answer:
No
Step-by-step explanation:
Even if you, as a parent, can actually leave morality and legality aside - which is pretty difficult, if not impossible - your decision of keeping the child locked, in order to protect her from something very unlikely, will only lead to very negative behaviour of the child that will be much more likely.