pwmc: added option --no-lock to disable locking the data file upon