As far as the shifting issue, have you checked the brake lighting circuit.
I have read that the switch on the brake pedal has a high failure rate and will prevent the shifter locking solenoid from unlocking the shifter. (if the system cannot 'detect' that the brake lights are on-- it won't let you shift)
Another failure can be the actual solenoid at the shifter.(or blown fuse)
If the key cannot be removed after the car is turned off, there should also be a switch on the shifter mechanism that unlocks the key assy.
It sounds like you may have electrical issues in/around the shifter.........
Either way, there should be manual releases for both. Under the boot of the shifter should be a manual release button. Same at the steering column, may be under a small cover under the switch assy, to release the key.
If you haven't looked yet, you might check the Cadillac CTS forums......