if you are locked in a completely sealed room, you will die of carbon dioxide poisoning first before you will die of oxygen deprivation...
Very easily yes. However, if you had
no CO
2, you'd also die pretty quick (hyperventilation causes all the CO
2 to be expelled out of the bloodstream, so this is the mechanism by which that kills you). Basically, oxygen loads itself onto haemoglobin in the lungs but needs to offload itself in the muscles. This is helped by the fact that oxygen is in a higher concentration near the lungs, so more will load onto the haeomoglobin, but not by much, this is done because in the blood by the muscles is at a lower pH due to dissolved carbon dioxide (as carbonic acid, CO
2 + H
2O ? H
2CO
3 but this is also accompanied by the presence of lactic acid). This change in pH alters the loading curve of haemoglobin with respect to O
2 so that it unloads more oxygen than it would in other circumstances. This is known as the Bohr effect. So, with no CO
2 dissolve, you can get plenty of oxygen into your blood, but it won't come out of it again where it's needed. Similarly, too much CO
2 prevents the loading of oxygen at the lungs.
This is a different mechanism to CO poisoning, while CO
2 binds to haemoglobin weakly in different sites, CO binds exactly to the spot where oxygen will. The trouble is, it does so irreversibly, so normal partial pressures of oxygen won't displace it and your blood will have a much (and essentially permanent) reduced capacity to carry oxygen. You can counteract the effect of CO and CO
2 poisoning by upping the partial pressure of O
2 above it's normal atmospheric concentration of ~20%. Hence smoke inhalation victims are usually put on a respirator of 100% oxygen.
Incidentally, deep sea divers use an oxygen mix that's lower than atmospheric concentration - 10% or less. This is because pressure increases with depth, so the overall partial pressure, and therefore total amount, of O
2 increases. You'd therefore get far too much oxygen breathing "normal" air at a higher pressure.