Lorazepam works by enhancing the effects of a neurotransmitter called gamma-aminobutyric acid (GABA) in the brain. This leads to a calming effect on the nervous system, which can be extremely useful for cancer patients who may experience significant anxiety and stress.