Red and blue keycards are clutter, they don't have any use. As for the safe key, you need to access several terminals and follow a certain sequence.
It's been a while so I hope someone else can be of more use to you. Save before you try, or you might get locked out!