1998 buick century 3.1l

the radio doesnt come on every time i start the car, if i turn the key to the on position the radio works then i start it and it wont come on all the time.. the times it does come on if i hit the door lock button it will shut off and maybe come back on if i hit the door lock button again.. im totally lost as to what would cause this to happen. thanks in advance