When a card is write protected, my K-30 won't take the shot at all on AF-S/C, and when in manual focus mode, it will say "Card is locked". Beside this I also get a locked card icon in all modes, on the display.
I deliberately used the card yesterday, to see how it would behave in a real life scenario and filled it up entirely without anything going on. It's possibly it was a rare fluke and I'm currently not worried about the card being too old or anything like that.
I have other and older card, which have also been used much more frequently, and so far not had card related problems* (but sure, there is a first for anything).
*two of my (previously) most used cards have the lock mechanism break off. They are still working fine with some tape applied to them