Minor improvement to the un/locking of a file.
Minor improvement to the un/locking of a file.

Fairly/opencor,Fairly/opencor,Fairly/opencor,mirams/opencor,mirams/opencor,mirams/opencor,Fairly/opencor,mirams/opencor,Fairly/opencor,mirams/opencor