Sure, Auto Zone or most other parts stores can fit your cap so no codes get set. Take your old one with you so they can match it.
I have considered getting a locking cap not so much for theft prevention but to keep others from adding things I don't want in my tank. (sugar, water, urine and so on)