This worked for me once. It may not be your problem but it just takes a second:
Open the Access locked database,
Make a new query but don't select any tables,
Go to SQL view
Type: select a from b;
Run with the !
It gives an error because you have no table called 'b'
Close the database and it...