Add lock user function for admins

@houndci @cgruppioni @georgetmayorga