Nextcloud with locked files

Nextcloud version (eg, 20.0.5): 22.2.0
Operating system and version (eg, Ubuntu 20.04): Openmediavault on RaspberryPI 4
Apache or nginx version (eg, Apache 2.4.25): ???
PHP version (eg, 7.4): ???

The issue you are facing:
I have some (Tons) of files locked.
Sync in windows 10 is failing because of that.
I researched this problem and ppl say we need to delete something in SQL DB.
The problem is that they saying how to do it in mysql, but I use yobasystems/alpine-mariadb in my Openmediavault docker. I have no idea how to login and what to delete. Can someone help me or guide me on the right direction

That issue is well described in the forum here.