Energy eigenvalues of ground and singly excited $1sns$ ($^{1,3}S$) ($n=2\ensuremath{-}5$, being the principal quantum number) states of a He atom in a quantum dot have been investigated in detail by incorporating explicitly correlated Hylleraas-type wave functions in the framework of the Ritz variational method. The quantum dot environment is simulated by considering the influence of the finite oscillator (FO) potential. We have examined the behavior of different energy components contributing to the total energy. In this regard, the Hund's spin multiplicity rule for $1sns$ ($^{1,3}S$) ($n=2\ensuremath{-}5$) states of a He atom has been examined in depth in terms of observed unusual ordering of the electron repulsion and total energy. The energy contribution due to the total correlation (in the presence of both radial and angular correlation) effect, the radial correlation limit and angular correlation limit of a He atom under different strengths of the FO potential have been studied. As a quantitative replication of our results, we have introduced and verified the Hellmann-Feynman theorem and virial theorem for both a He atom and its first ionization threshold, i.e., ${\mathrm{He}}^{+}$ ($1s,\phantom{\rule{0.16em}{0ex}}^{2}S$) ion under the influence of the FO potential. The expectation value of different radial quantities ${r}_{1}, {r}_{1}^{2}, {r}_{12},\phantom{\rule{0.16em}{0ex}}{r}_{12}^{2}, {r}_{<}=min({r}_{1},{r}_{2}),\phantom{\rule{0.16em}{0ex}}{r}_{>}=max({r}_{1},{r}_{2})$, angular quantities, e.g., interparticle angles ${\ensuremath{\theta}}_{1}, {\ensuremath{\theta}}_{12}$, one-electron delta function $\ensuremath{\delta}({\stackrel{P\vec}{r}}_{1})$, and two-electron delta function $\ensuremath{\delta}({\stackrel{P\vec}{r}}_{12})$ have been determined for different strengths of the FO potential. The effect of the FO potential on the quantum similarity index and dissimilarity between the ${\mathrm{He}}^{+}$ ($1s,\phantom{\rule{0.16em}{0ex}}^{2}S$) and He ($1{s}^{2},^{1}S$ and $1s2s,^{1,3}S$) as well as between He ($1s2s,^{1}S$) and He ($1s2s,^{3}S$) has been examined. The von Neumann, linear, and Shannon information entropy for the ground state He atom have been computed to ascertain the characteristic features of the electronic entanglement and the charge distribution under the FO potential.