Computer-based interlocking