If the rear derailleur has a clutch mechanism, shift to the smallest cog on the cassette and release it. On the other hand, when shifting into a big chainring on a bike with a front derailleur, make sure the front derailleur is engaged as well. It will make it easier to remove the old chain if you do this