how to deter children from opening an interior door
I think the most simple solution is this installed close to the ceiling:



Assuming the surrounding paint is white, this really shouldn't require painting since it's one small hole and you could just use white wood filler to make the holes disappear once removed.