Mask out clouds by using the quality scene classification band

Dear community,

I would like to mask out the cloud bodies and shadows that exist on my Sentinel-2 Level 2A product data. While there is the IdePix option, it does only works on Level 1C data.

Is there any way to mask them out by using the quality scene classification?
And if this is the case, then how am I supposed to implement it?

Thank you in advance.

Best Regards,

have you seen these suggestions?

Dear A Braum,

I will give them a try.

Thank you very much :))