Hiding a Discount Code means that the hidden code will not show in the Discount Code dropdown in a reservation nor in the Availability screen. This will only hide it from the local side, it will not deactivate the discount code online.
Path: Management > Rates > Discounts > Setup (icon on the right side)