Caution
The LockHandler utility was removed in Symfony 4.0. Use the new Symfony Lock component instead.
LockHandler