Probably not the problem, but worth putting it out there.

When you go to the options and look at the key binding for target lock, do you see anything in the space next to it? It may be that target lock isn't assigned a key. At least mine wasn't assigned until I personally set a key bind to target lock.