Saturn SC2 Computer Issues

I have a 2002 Saturn SC2 that I bought back in January. It didnt come with a key fob so I went to Saturn and got one. It worked great at first but now sometimes it works and sometimes not. Also the power locks inside the car are the same way sometimes they will work and other times they wont. I was wondering if anyone else has had this problem or knows a way it can be fixed? I went to Saturn and they want $120 an hr to take a look and see what can be done to fix the problem and help would be great Thanks