How to Ignore File Lock Error While Compiling XPF Package
There were cases where compiling the captured layer through Virtual composer will fail due to blocked files. This kind of issue will hamper automation, if you're compiling and converting all the layers to .xpf by running virtual composer CLI option. Most of the times these files will be temporary files which is not necessary for your application to run when deployed into client machine.
There is an option in default.xpt file placed under \Program files\Symantec\WiseVirtual composer folder to ignore files during compilation. Any files or folders updated under this section will be ignored during compilation,meaning if the specified file was opened by another process and virtual composer is unable to read that file then it will ignore that file and continue compilation.