You can demote any time during the playoffs but definitely wait a cycle after regular season ends. I usually do it the next day to be safe.
Yes, only players on the 40 at roster expansion can be on your playoff roster. It's a common mistake. Users will trade for an expiring contract after RE thinking they can use them in the playoffs. They can't.