I use a pair of scissor jacks between the rim & the mower in combination with an air hammer
The process is to put some weight on the rim with the jacks, not too much , fingers only
Then I put a allan bolt in the hole in the axel
With a point chisel, blunted off so it sits tight in the head of the allen bolt, lean into the axel and pull the trigger
As the wheel starts to come off the jacks will slip
So then it is tighten the jacks again & repeat
A word of warning
The axel is only held in with a small clip. either a C clip or a wire gear retainer so can be ripped out if you do the jacks up Chuck Norris tight
All you are doing is taking up the slack in the axel so the blows from the hammer have nothing to resist them and th axel should be able to move in by the same distance you moved the wheel out .
It is not a 5 minute job but done this way there will be no damage to wheel, axel or diff .
As per Rivets above , plenty of penetrating oil ( WD 40 is not a penetrating oil )
Tapping the key with a pin punch usually helps because the keyway is where most of the rust starts
Now you know why wheels should come off every 4 to 4 years and get greased