For experienced players
While this is an “absolute pin” (against the king, making moving strictly illegal), “relative pins” (against a queen or undefended rook) are just as common. In a relative pin, the pinned piece CAN legally move, but doing so would be a catastrophic blunder.
See also:Skewer·How the Bishop Moves·Deflection