They can sell it for whatever price they want on other platforms.
What they can’t do is sell the freely generated Steam keys on other stores from less than the cost of selling them on Steam.
So they cannot put a game on Steam, then generate 100 free keys and put them on Greenman Games for 30% less than Steam. They can definitely put it on Epic for 30% less and let Epic pay the hosting and distribution.