Here my report of the bug;
there is a seldom bug:
If a game takes long, an arbiter can end the game by evaluating the position.
Such a decision can be difficult to make. However, and that is a bug,
lichess.org ends a game at move 301 and gives it a draw, even if the position is clearly won for one side.
If that is thought as a punishment, then lichess misuses its role as an arbiter.
The weaker side could resign any time, and probably the stronger side could win.
There is no need to intervene unless the game is a clear draw. The stockfish-engine could evaluate the position at move 301, and if the eval is a checkmate in (for instance) #12 moves or so, then it must be given a win for the winning side. If the eval is below 5.0 pawn units, then a draw could be assumed.