You shouldn't have any issues traveling with a carbon monoxide alarm in either your checked or carry-on bag. There is one caveat here: you should not put lithium batteries in a checked bag. So if your CO detector is powered by lithium batteries, you'll need to pull the batteries out, and place them (or the entire detector) in your carry-on.