standing at attention; standing stiffly upright
Describes a rigid, motionless standing posture, often in military or formal contexts. Can also be used figuratively for someone frozen in place.
The new employee stood stiffly at attention while listening to the boss.
The soldiers waited for orders in a standing-at-attention posture.