Closing your Mac notebook with a camera cover on it might damage your display. Designed to protect your privacy, Mac notebooks have a camera indicator light to let you know when the camera is on.

https://support.apple.com/en-us/HT211148