Queen never knocked her out lol. Falling asleep after getting a hit on the head isn't a KO at all. Garp didn't KO Luffy at W7 either.
Brook did get captured by her, and he hid a poneglyph in his skull before she could see what he did, plus she had no way of knowing that he had an effect on Homies and didn't do anything to her.
And let's talk about Aokiji being unable of preventing preskip Luffy from taking a frozen Robin away from him, him giving a golden snaiphone to Spandam and being unable of preventing the Straw Hats from escaping at W7 or him being unable of freezing Law's submarine. Or about Kizaru being unable of capturing a single supernova at Saobody, or of hitting Law's submarine either or of killing Little Oars Jr. Or about Akainu being stopped from killing Lufy and Jinbei by Crocodile, being avoided by Buggy or him not being able of giving the death blow to a half-dead WB that was vomiting his own blood.
Or about Kaido letting Momonosuke live, him killing Orochi's grandma despite how useful she was to him, sparing Kid and Luffy's lives, letting Law escape or his guards drinking themselves during the Fire Festival, not doing anything to prevent the Queen Mama Chanter to reach Wano despite being a dragon or having BM being unshackled instead of killing her or throwing her into the sea.