Add lock user function for admins