All you need to know about human vacuum exposure:
https://oikofuge.com/human-exposure-to-vacuum-part-1/
https://oikofuge.com/human-exposure-to-vacuum-part-2/
1) You don't collapse a lung unless there's a leak between the airways and the pleural cavity. That can happen if there's air trapping within the lung during decompression. So you don't want to try to hold your breath, and you don't want to be caught at the bottom of expiration, either, when small airways close. So there's a bit of luck and a bit of preparedness involved, according to the scenario you're imagining.
2) I don't understand the second question. Intubation keeps your upper airway open, but that's essentially irrelevant to oxygenation in this situation, where there's no oxygen.
And I don't know what the "least harsh conditions" are for "exposed to the vacuum of space". Could you elaborate?
Grant Hutchison