In both of the blitz games you've played you've moved your queen.
However sometimes you can't. If your king is in check, only moves that remove check are legal.