Add config option for lockfiles folder

This way we can avoid problems with OpenShift
folder permissiones.