When the cartridge cover in your printer is damaged, deformed or missing for some reason, you can print a new model of the cartridge cover and put it on.
You can download the 3mf model file from X1/P1 Series Filter Cover by Bambu Lab Support - MakerWorld, and print it.