"P" activates Do-Re-Mi, which gives you a little chart so you can gauge what pitch your character will scream at when looking up and down. As for the keycard, you need to head over to the swamplands with the church and learn more about the wonders of money ;)