flash/nor/stm32l4x: lock flash after error