There is a sporadic issue where SQLite databases get locked and don't unlock until we take action on our side. We've put some alerting in place today so that we'll be able to identify issues like this quickly in the future, and should be able to add in -- over the next few days -- a system to unlock everything automatically within a minute or so of the issue occurring in the future.
BTW I would recommend strongly against using SQLite on a production service on PythonAnywhere. We use a networked file system so that your code can access your databases no matter where it is running on our system, and -- for all its many strengths -- SQLite does not handle networked filesystems well. Even when this locking issue is fixed, you'll get worse performance, especially as your site scales in terms of numbers of users and the amount of data, with SQLite. MySQL or Postgres would be better.