config: expand lock on Get

I'm wondering whether we should remove Set and Unset, and make config
immutable.