Don't get into a situation where you can be stunlocked, otherwise there is really no other solution unless you're tanky enough to get out of the situation.
The new roll feature is a great way to escape knockdown. Double tap A or D after falling down and you might be able to escape alive.