how can i lock a player's camera movement? (1.20.1)

title says it
Continue to help post