I'd steer clear from whoever told you that it's "either/or", sounds like they don't know what they're doing. An actuator is either working, not working, or working intermittantly (might open, might not). If your hatch and back passenger doors are locking and unlocking normally, you don't have a problem. If either or both aren't unlocking, or are sometimes unlocking and sometimes not, then you might have a problem with the actuator(s) (could also be the switch or the wiring).
I had a problem with my driver's door not always unlocking, but was able to solve it by spraying some WD40 down the shaft of the button that pops up. The actuator might be wearing out, but the added lubrication seems to have been enough to make it pop up all the way, at least for now.
For the door code, the first place to check is if you have the owner's manual, there's a little white card that came with it which has the number on it. I was about to pull things apart looking for the number (as the previous owner said he didn't know it) and was surprised to find the card right in the folder with the owner's manual. If the card isn't there, as mentioned above, there is a sticky thread which can help you find it, complete with pictures (or you can pay a ridiculous amount of money to the stealership and have them tell you).
Be careful, there are a LOT of so-called "mechanics" out there who're interested in nothing more than ripping people off with unnecessary charges for work that doesn't need done.