Would this not produce a database error of some kind?
It is not an error as such, it is just part of normal database behavior.
The issue is when the database does not release this lock on the table that performance is affected. My guess is when a process tries to write to it during lockout the app stops responding.
In my case it was the systemsettings table, but it could happen to any other table the process is trying to write to.
I diagnosed the issue through 'Navicat for MySQL' when I tried to update the table directly and got the lock timeout error. AwareIM did not log any errors about this. I'm no expert but maybe check your mysql log for lock or timeout errors to your database tables.