named does not clean up the lock file on Windows
To reproduce, prepare any working named.conf
and then, from any writable directory, run:
named.exe -g -c <path-to-named.conf> -X named.lock
Then interrupt the process using CTRL+C. named.lock
will still be there even though it should not be.