Male part on the board:
Female part in the casing, on the cable. Lockable.
What type of connectors are these?
Sorry for low quality photos, camera seems to be incapable to do macro job. But male image is lucky one, and 24 conductors are more or less recognisable on it. I examined a female part and can positively confirm, connector have 24 conductors (not counting outer casing, which might be used as an additional "ground" conductor).