This is very, very normal behavior. So normal, in fact, that it is more common than the rabbit that goes calmly into its cage. Rabbits that are handled a lot can learn to be calm about all phases of handling, but this moment of transition between being held and being in the cage is the time when most rabbit people get scratched!
The best way I know of to reduce the risk of getting shredded, is to not let the rabbit see what you are doing. You can hold the rabbit right side up, but facing backward, with the rabbit's head tucked under your arm. Put the rabbit into the cage, backside first, and remove your hands as his feet touch the cage floor. By the time the rabbit knows what's happening, he is already in the cage, and your arms are safely away from his feet.
Another method involves flipping the rabbit over. Cradling a rabbit on its back, with its feet facing up, is usually a good way to calm a rabbit down. Carry the rabbit to his cage like this, with your free hand on the rabbit's chest. When you get to the door, rotate the rabbit back onto its feet on the cage floor; the rabbit ends up facing away from you (this movement can take a little practice to get it quick and smooth).
Being held is not "normal" for rabbits, so most find it at least a little bit stressful. With enough handling, some get over it, some don't . (I had a Harlequin buck once, that loved being petted. You could pet him until you rubbed all the fur off, and I don't think he'd have thought it too much! But pick this guy up, and he whimpered and trembled like a dog that has been beaten. Very friendly rabbit, but he never got over his fear of being picked up). Your friend may be able to get this buck over his anxiety, or may not be able to, but using the methods I've mentioned may at least help her avoid some damage to herself.