Resident began banging her head on the wall and hitting/kicking staff. Resident was placed in a physical hold to maintain safety, and released once she was able to regulate and contract for safety. No injuries sustained. Resident placed on self-harm and assault precautions with constant line of sight.