Pin risk
Also called Pinning, strike pinning
The tendency of price to settle near a heavily held strike into expiration, and the seller's risk of not knowing whether they'll be assigned.
Pinning is price settling at or near a strike with heavy open interest as expiration approaches. Pin risk is what that means for someone short an option at that strike: arriving at expiration not knowing whether they'll be assigned.
Why price can pin
If dealers are long gamma at a strike, they sell as price rises above it and buy as it falls below, pulling price back toward it. That pull grows into expiration, because gamma concentrates at the money as time runs out. In positive gamma, a large strike near spot on expiration day can hold price in a tight band.
It needs enough open interest at the strike, no bigger news to swamp it, and a price already close. Pinning pulls the last dollar or two; it doesn't drag price across a wide gap.
The seller's side
Short an option that finishes right at the strike and the holder decides after the close whether to exercise, possibly on after-hours news. You can face the next session holding, or not holding, shares you didn't plan on. Closing a short that's near the strike before the close removes that.
In Theta Vantage
Look at max pain, the walls, and the expiration's own gamma on the strike selector's ladder in the last days of an expiration.