Many users are facing error with sudden admin auto logout error. The reason is session limit exceed. You can notice error message in logs like Session size of 329785 exceeded allowed session max size of 256000.
So fix that error you have to change admin session setting.
Go to Admin -> Stores -> Configuration -> Advanced -> System -> Security.
Update max session size value to 2560000