<Comment deleted by user>
What? No, those aren't the rules. Even if the supporting piece is immobilized due to a pin or something, it still counts as supported when giving a check.
If you cannot move the king to a square that is not under attack when being checked (or remove the check some other way), it is a check mate.