AI can open a door and walk through if the door is closed with the latch open.
If a latch is opened and then closed first, and then an AI triggered to go through it (even with can_unlock set). it will not attempt to use the door. this is because ai_should_not_handle is set after opening/closing the latch.
Other findings:
ON MAP START: If a door with a closed latch is in an AI's path, it will attempt to open the door, and will not be able to because it's locked.
ON MAP START: If an AI has 'can_unlock' with the door name set, and the door has a closed latch on it, the AI will open the door even though the latch is closed.
Scenarios successfully tested:
Other findings: