Disable filelocking for 1 file

Hello!
Is there any way to disable file locking for 1 file?

My banking software has a file ****.mgz

The Windows Client can’t update this file to cloud (Banking software is switched off).
File would be locked. I have to change the config file: ‘filelocking.enabled’ => false

After this the Client can update the file and I change the config file again (‘filelocking.enabled’ => true).

Any Ideas to avoid this behaviour?

Thanks
Tom

Server configuration detail
Operating system: Linux 4.4.0-148-generic #174-Ubuntu SMP Tue May 7 12:20:14 UTC 2019 x86_64

Webserver: Apache (fpm-fcgi)

Database: mysql 5.7.25

PHP version: 7.1.23-nmm1

Modules loaded: Core, date, libxml, openssl, pcre, zlib, bcmath, bz2, calendar, ctype, dom, hash, filter, ftp, gettext, SPL, iconv, json, mbstring, posix, Reflection, session, standard, shmop, SimpleXML, soap, exif, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, cgi-fcgi, propro, raphf, http, mysqlnd, PDO, curl, dba, fileinfo, gd, gender, gmp, htscanner, imagick, imap, interbase, intl, ldap, mailparse, mcrypt, mongodb, mysqli, OAuth, odbc, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, pspell, recode, SourceGuardian, sqlite3, tidy, xsl, ionCube Loader

Nextcloud version: 16.0.1 - 16.0.1.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status List of activated apps Configuration (config/config.php)

External storages: yes

External storage configuration

Encryption: no

User-backends:

  • OC\User\Database

Browser: Firefox 67.0

It unlocks automatically after some time. You could certainly unlock in manually in a database, ideally you have configured it properly with redis that it should not happen.