Federal immigration officials plan to open a large detention facility in Oklahoma City capable of housing up to 1,500 people, a move that caught many local and state leaders by surprise and is now drawing sharp criticism from at least one Oklahoma lawmaker.