专注 (zhuānzhù, to focus) and
专著 (zhuānzhù, monograph) are exact homophones — same pinyin, different characters and completely different meanings. Context and the character
注 vs
著 distinguish them:
注 means 'to pour/concentrate,'
著 means 'literary work.'