In reverse.

If it locks up, some pictures may indeed vanish. As it is a new card, return it as defective and get another.

I have never cleaned the contacts in any digital camera I've owned and wow, that's been many years. I think since at least 1995.
Bob