New Zealand largely kept out Covid-19 by closing to the outside world, a policy accompanied by stimulus to keep the economy moving. Now the resulting labor shortages and surging demand, notably for housing, have led it to become one of the first developed economies to raise interest rates since the pandemic began.