I am pretty sure that would be illegal.
http://www.ncga.state.nc.us/EnactedL..._14-269.2.html
Actually, I found this on a quick search. Not the exact scenario you presented, but a firearm in a car nonetheless.
http://myfox8.com/2012/12/04/elon-st...mally-charged/
ETA: Regarding the locked gun and no CCW, this should answer you question, clear as mud!
http://www.ncrpa.org/faq/cch.shtml Basically, it would be up to law enforcement and the judge.