"To lock in your users data may be in your terms of service but that does not mean it will stand up in court. Portability is pretty much a given..."
It is a given in terms of best practices in various regards, but not in law (at least not in the US or other jurisdictions with similar IP frameworks).