Governments grapple with virus border closures, lockdowns