Sounds like a bad key or worse, a bad lock cylinder...if the problem is the
ignition lock cylinder, many toyota lock cylinders can be released from the housing by putting the key in the "ACC" position and then pushing the lock release pin on the underside of the lock housing, you may have to remove some of the covers around the lock to gain access to the release pin. New cylinder can be picked up...