cpp:lock file