[Command] atomic lock

Pure `flock()` based locking strategy: having a more portable locking strategy based on PID is much harder since `posix_kill` and/or `exec` can both be disabled.