did you try another ignition key? can you check for codes?
there is a fault with the passlock sensor/wire harness or the bcm. These are hard to diagnose and a scanner is needed. The dealer has the best diagnostic tools and if the bcm or passlock is replaced the vehicle would have to be reprogrammed.