This rare kanji has no clear standalone meaning. Treat its meaning as uncertain.
閄 combines 門 (gate) and 人 (person), but its exact historical origin and original meaning are uncertain.
A person 人 beside a gate 門 suggests someone lingering near an entrance, but the kanji's meaning is unclear, so treat it as a mysterious gate encounter.
For コク, imagine a person knocking on the gate with a solid 'kok' sound: kok -> コク, as the person waits by the gate.
—