I confirm that there is an issue when:
- encrypting the phone after defining a PIN code
- and/or allowing Secure Boot (the PIN is asked at system startup, before arriving to lockscreen)
So, to successfully enabling encryption on A5:
- unset PIN code before encrypting
- do not enable Secure Boot