A π bond restricts rotation about the bond axis this is TRUE.
Pi bonds are more diffuse bonds than the sigma bonds. Electrons in pi bonds are sometimes referred to as pi electrons.
Molecular fragments joined by a pi bond cannot rotate about that bond without breaking the pi bond, because rotation involves destroying the parallel orientation of the constituent p orbitals.
Sigma bonds are defined as having their electron density along the bond axis, while pi bonds have their electron density above and below the bond axis. What this mean is that pi bonds cannot rotate the same way as sigma bonds since rotation would break the pi bond interaction.
Learn more about pi bond here: