default or selected kernelversion does not have config value CONFIG_NCPFS_IOCTL_LOCKING.
Result is shown for kernelversion 6.7-rc3

Proprietary file locking


Linux Kernel Configuration
└─>File systems
└─>Network File Systems
└─>Proprietary file locking
In linux kernel since version 2.6.20 (release Date: 2007-02-04)  
Allows locking of records on remote volumes. Say N unless you have
special applications which are able to utilize this locking scheme.