On automorphisms of algebraic $K3$ surfaces which act trivially on Picard groups