Did you try to repair the tables? The oc_file_locks can be emptied, that is just for locking files during they are changed. If everything runs through your database instead of a dedicated cache, it can create an important load and lead to locked files:
Could be that it is too much for your database and a redis cache could solve your problem.