locking button press in blender game engine
add property to the door which tells when the door is locked or unlocked .  then add trigger which sends message "unlockdoor" (and unlocks the door(sets locked to 0)) . then add animation