[Command] Added LockHelper

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes https://github.com/symfony/symfony/pull/10475
| Applies to    | Symfony version 2.6+
| Fixed tickets | -
[...] is a string that it will use as part [...]