@Remember_April If you are talking about:
lichess.org/3jTXGhfv#122Then, see that though king can't move but you have two legal moves to be played, a5 and b4. So, the position is not a stalemate. You would eventually lose on the very next move by e2#.