A good move, taking the king out of the x-ray with the black rook.
21... c6c5 Too hasty. Black has no adequate response against the d-pawn advance. 22. d4d5 Forced and excellent. 22... e6d5  23. c4d5  23... c8d8 