Should I brown the lock when browning the barrel?
Yes, brown the lock if you're browning the barrel. Disassemble the lock first. Keep the browning to the surfaces that show once the lock is installed; don't brown the internals or the inside of the plate.