Perspektive
is a Fabric mod for looking around while locking your head rotation, so you can e.g. trick people into thinking you are not looking what they are doing or just view yourself
Using pacmc
pacmc install Perspektive
Download the mod from curseforge or modrinth and put it into your mods folder in the .minecraft directory
To access the settings GUI install ModMenu and click on the "configure" button