take the key to auto zone they have a keyless tester that tells you if your buttons are sending a signal or not to rule out if its your keys b4 you try to fix your car. the other thing is that did you remove the battery or anything like that you might have a anti theft thing where it allows to lock but not unlock. in that case then you need to figure out how to make your car relearn your key.