Any process in which a protein is transported to, or maintained at, a part of a chromosome that is organized into chromatin.