Cooking sherry is low-quality sherry with salt added. There is no reason to buy cooking sherry. Just purchase any inexpensive sherry and this will give you better control over the sodium content of your food.
You can buy cooking sherry at most grocery stores. It is not considered an alcohol product so you can purchase it if you are underage. Real sherry wine can only be purchased by an adult.