Sometimes this happens to me when I leave an old tab with the panel open, then go away, computer goes into standby, I come back, open a new tab and log into the panel there.
Now the old tab continues to poll the “lock” requests, probably with the new session id, but an outdated csrf token; and I guess this confuses kirby. When I close the old tab and login again, the problem disappears.
This makes totally sense.
You can not imagine how I felt on friday and how i feel right now.
From now on i will close every kirby tab after every coding session, to not run into it again.