system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Why does shooting a door in some cases lock it and in others open it? What do they do that decides the outcome?
gpt
Actually, for door locks, there's typically two different designs for electronic locks depending on the need - fail-open and fail-secure.

Fail-open systems unlock doors when power is cut; fail-secure systems *lock* those doors instead.