Because he didn’t need to? Here he had to block them so Bonney and Atlas didn’t get killed by them.
Against Queen he didn’t have to protect others so he dodged instead.
That's BS, he only blocked one light beam that was heading his way.
For the millions of lasers Queen shot at him, he decided to dodge all of them, quite interesting if he has the ability to block them, don't you think?
Zoro said they are unblockable, which is common sense because you know light cannot be touched right??