Exception during scan

I have one user, one file type, one file source, one storage location. The cron is set to scan every minute. Files arrive one file every 15 minutes.

I read the instruction: File is locked - how to unlock how to use phpmyadmin with nextcloud?

What other options are there to remove the lock?

Thank you