AVR support for setting lock bits.