Selectively disable ransomware-protection is not working

Hi all,
I run NC12.0.3 with php 7.1.10 and mysql 5.4 on Centos7 (latests).
The ransomware-protection works great, but I need to upload a special file called: temp.lock.
Of course .lock is in default extentions list, as it should.
I tried to add temp.lock as well es path/temp.lock and ^path/temp.lock$ into “Exclude extension patterns”, but still I’m unable to upload.
I added “.lock” and that works, but I hoped to only allow temp.lock and not all .lock files.
It this possible, or do I have to open a feature request?
Thanks for the Info.