Staff reported resident became upset after they were caught passing and receiving notes. Another resident gave the staff the notes and then this resident began pinching her arms repeatedly trying to self-harm. Resident was able to be de-escalated with no injury other than reddened skin spots on her arms. Resident placed on self-harm precautions.