do you mean, to set it on Ajax response or not? If so, the attribute name is 'focus'. See tld on any Ajax component.
If you mean something also, the solution depends on the situation.
I would like to set focus to a field named FieldName in a modal panel:
But of course the modal panel is not rendered at the time the outputLink is clicked. So is there another way to set focus.