Hi Sushmitha,
When you open your button properties, you have the option to edit you Microflow Settings. In here, you can select 'none', 'non-blocking' or 'blocking' at Show Progress Bar. This creates a 'spinner' with an optional message (see below pictures)
Good luck!