A lot of folks complain about the timeout and not being able to continue working on a certain file. Undoubtedly, the timeout exists to allow users actually working on a file to do so without interruption, and to prevent file conflicts when not.
However, since a user must be logged in to be working on any given file, it should be "easy"/feasible to add an option to "log out all other sessions", which would then free up the file that the system thinks that particular user is "working" on.
I propose:
Add a button for a logged-in user to "log out all other sessions". This should immediately free up the file to be worked on again, without a timeout.
If a shared file (in Teams) is being worked on, show which user is "occupying" it. Perhaps the Admin can "kick" the user out of their session if necessary.