Dynamax Crystals are items that will be given away during special Pokemon Events, and they can be used while playing Pokemon Sword & Shield. Once received, you can activate them by going into your item menu. If you do, a Max Raid Battle will spawn at Watchtower Lair for the remainder of the day. Believe it or not, the once castle is, in fact, a large Pokemon Den. The Max Raid Battles at Watertower Lair that are summoned by Dyanmax Crystal will spawn specific Max Raid Bosses for the Dynamax Crystal used. The Dynamax Crystals that will be given away during Pokemon Events will usually be for Pokemon that normally cannot be found as Max Raid Bosses.
We have questions and answers related to this topic which may also help you: