If you have a complete CSU (Command Sensor Unit) failure your warning would be:
F/CTL FLAPS LOCKED
F/CTL SLATS LOCKED
If it is partially U/S the warning depends on what part is defect. Possible is:
F/CTL FLAP SYS 1 FAULT or
F/CTL FLAP SYS 2 FAULT or
F/CTL SLAT SYS 1 FAULT or
F/CTL SLAT SYS 2 FAULT