Masking of Sentinel 2 data

I perform multi-size mosaic …when i am going to mask than a problem occurs due to variation in pixel size. What should i do. If i do the resampling than it loss its originality. Please help me.

Please be “more” specific about your problem, otherwise it is hard for us to help.
In case you mean the warning on the different resolutions: You can perform resampling and then use the mask on the resampled product as described here: