Yeah...this one has gotten me a few times
How to avoid common checkmates ( especially at the beginning)

Hello! I would like to share a way to observe and save yourself from getting checkmated by the rook. This common form of checkmate happens when the rook is moved in the same row as the opponent' king and the king can't escape due to its own 3 pawns obstructing the way( this scenario occurs mostly when the king has castled)! Hence, one has to be wary of the rook of whether it can deliver a checkmate or not.
How to save yourself:
Move one of the pawns forward so that the king can escape when the rook delivers a check. Hope this helps!
P.S. - Take note that castling is a good move and is advantageous when used wisely.
4-move checkmate (When one moves out the bishop and queen)
one can move their knight or move the queen one step forward