What bro, if they move the queen next to your king then u can capture it
If the queen is protected by other pieces and run next to your king, u can't capture it