gpio reading lock register is unnecessary