At the first move, Black selfpins a unit. Then White unpins it, selfpinning another unit. The black unpinned unit then unpins the pinned White piece, which mates the black King.
See also: Self-pin/unpin.
Bogdanov, Evgeny
Schach-Echo, 1983
1.Bxe5+
Sd5
2.Bd4
Sf6#
1.Rxe5+
Sf5
2.Re4
Sg7#