A federal judge in Texas has ordered a halt, at least temporarily, to President Obama’s executive actions on immigration, siding with Texas and 25 other states that filed a lawsuit opposing the initiatives. In an order filed on Monday, the judge, Andrew S. Hanen of Federal District Court in Brownsville, prohibited the Obama administration from carrying out programs the president announced in November that would offer protection from deportation and work permits to as many as five million undocumented immigrants. The first of those programs was scheduled to start receiving applications on Wednesday.