You can freeze the samosa pinwheels before or after cooking. To freeze them prior to cooking, place the rolled logs onto a parchment-lined baking sheet and freeze for 2 hours. Once frozen, store them in an airtight container until ready to use. When ready to cook, bake the frozen pinwheels according to the instructions above. Alternatively, you can cook them frozen in an air fryer, preheating it to 400 degrees F and cooking for 10-12 minutes until they are golden brown and crisp.