You need to active Support Compute Skin Cache in your project settings and active the plugins “Alembic Groom Importer” and “Groon”.
You can see more information in that page of documentation: Hair Rendering in Unreal Engine | Unreal Engine 5.0 Documentation