The lock/unlock door command doesn't take a turn
The lock/unlock door command doesn't take a turn, and instead adds 1000 to the energy cost of your next action. This means you can use the command repeatedly to reach ridiculous energy costs. In theory you could even overflow the energy cost of your next action. In practice it's just kind of weird.