Enhanced EBox::Util::Lock instead of adding a new class
Adapt to use the new old class with arguments