Barack Obama actually said...
Dissenters may be jailed, but ideas can never be imprisoned.
Context
Proclamation 9380—Human Rights Day and Human Rights Week
12/08/2015
Proclamation 9380—Human Rights Day and Human Rights Week