When a protein folds into its 3D structure (largely dictated by its 1D amino acid (AA) sequence), only the surface residues interact with solvent molecules and ligands dissolved in the solvent surrounding the protein, such as metabolites of various sizes, other proteins, and other biomolecules. This specific presentation of AAs on the protein's surface is characteristic of that protein.
Meanwhile, the AA residues within the protein's interior remain "unseen" and "untouched" by other molecules in the protein's environment (except perhaps when the protein undergoes drastic conformational change/s in response to some stimulus). What are the functions of these "hidden" AA residues? How do they ensure that precisely the right AAs are exposed on the surface at precisely the right spots so that the protein can perform the function it is supposed to do?