Pason69: I'm not quite sure I understand that exactly. But if I am thinking about it correctly it would be like this
Pawns only move forward (of course) If a pawn cant move because of any piece in front of it, then the pawn cant move. The piece blocking the pawn is safe Pawns can only capture on diagonals. That would go for the king as well. The king would only be in danger if the pawn was on a diagonal. If I understand your question right, nothing would happen. The king is safe as long as it is directly in front of the pawn
(kaŝi) Se vi alklakas la nomon de ludanto, kaj poste 'Finitaj ludoj', vi ricevos liston de finluditaj ludoj, poste alklaku nomon de ludspeco por ricevis superrigardon super ĉiuj tiuspecaj ludoj, poste alklaku denove la nomon de ludo, kaj vi ricevos tiun renkonton por rigardi kaj analizi. (Servant) (Montri ĉiujn konsilojn)