Stupidity: There is no reason why any person as intelligent as Janet would keep the knowledge of Kang secret from her family. The extended Pym family are the only people in possession of the one thing Kang needs to escape. The brief explanation she gives is that she wanted to protect her family, but this makes absolutely no sense whatsoever, and she makes no attempt to explain how this secret keeps anyone safe.
Suggested correction: She is obviously scared out of her mind concerning Kang. She, through her fear, had hoped that him being trapped in the Quantum Realm would stay permanent as long as nobody knew about it in the normal universe. In that way, she tried to protect not only her family but the entire universe.
Not only does she not say that she is "scared out of her mind", she also doesn't act like it either. There is no indication that she is so frightened by Kang that she has lost her senses - quite the opposite, actually. She appears to function rationally and intelligently in every other area concerning Kang, except of course for simply telling anyone how dangerous the Quantum Realm is because the movie wouldn't have a plot otherwise. It's pretty egregious and wildly ridiculous.
Of course, she doesn't say that or act like that. But what she saw of him, when she touched his ship, scared her enough to go to all that trouble to keep him in the quantum realm at all costs. She thought it would be safe to leave, that he was trapped forever. Her judgment was wrong, probably caused by her fear. She is only human.
"Fear" is not enough to get past this level of stupidity. My point is that she doesn't act so frightened; she isn't irrational in any other way. It's just a flat-out, stupidly written element of the film that is impossible to believe. There is no way on God's green earth she should keep this secret, even after her family has made it to the quantum realm. I get that the movie is trying to say she is frightened, but this goes well beyond making any kind of sense at all; it's ridiculous.
Part of the stupidity also involves Janet's action in the mid-credit scenes of "Ant-Man and the Wasp," where she actively helped send Scott into the Quantum Realm to get quantum energy. If she was so afraid of a signal being sent to the QR, she wouldn't have let Scott go without explaining the dangers of going. This film seems to ignore that and instead seems to focus on Janet simply not wanting to discuss her involvement with Kang and her guilt, thinking no one would go back to the QR.