Lock Solution for ProcessControl