Implement register lock/unlock, also move config registers to 0xBEFF00.