add lockfile implemented via Unix PID file

Signed-off-by: Gui Chen <gui.chen@intel.com>