Hint: Chess challenge
To get past this challenge (McGonagall's), you must wait until a chess piece is on a pressure plate, then immediately hit it with a Flipendo to freeze it. Ron will take care of the remaining one. Do not, however, touch the pieces, even when they are frozen, or you will lose one lightning bolt per touch.