If the Black knight (at h4) must stay immobile and cannot be captured, how can you get the White king (at h2) to the empty f1 square by making consecutive White moves within the portion of the board shown? At any time, the White King may not move into check.
I don't know if this is the shortest possible solution but here's what I came up with:
Move the pieces in this order to whichever square is available at the time:
B,Q,K,B,R,Q,B,R,B,K,B,Q,K,B,R,Q,R,B,R,B,R,B,K,B,Q,K.
26 MOVES - seems a bit excessive but I went through it twice and come up with the same solution both times.