If we are to believe what the metallurgists and engineers tell us, (and I do, they know more about it than the rest of us), Locking the slide back and keeping the spring compressed will do nothing to "season" or break in the recoil spring and make the pistol easier to rack.
What will help is repeatedly locking back the slide, then letting it go forward. Over and over, many times.
Same with the magazine spring, loading the mags and letting them sit won't make the mags any easier to load. What will help is loading and unloading the mags over and over. That repetitive compression/ relaxation will weaken the spring, not leaving the mags loaded for days, weeks or years.
I'd rather just use a loader on new mags and let them break in on their own, than try to pre-weaken the springs, you'll just have to replace the mag springs that much quicker.