Not all public parks close at night, and even those that do aren’t necessarily patrolled. If I saw a woman playing with her child late at night, I would probably just assume they lived nearby and the kid was having trouble sleeping, or she worked a weird schedule, or something along those lines.