At least the Tesla handles I’m familiar with are entirely electrical: if you grasp it and pull but the door and whatever ECU operates it is not energized, then nothing happens. There is nothing resembling a mechanical door lock.