There's a list of error codes you may see on your washing machine; what they mean; and what to do if you encounter them here.
And a helpful, easy video guide on ways to fix/troubleshoot them:
DC/DDC error codes are about the doors, for example.
(DDC is when the AddWash Add Door is opened without pausing the machine apparently.)
If you get a DC/DDC then:
A 4C error code relates to the water pressure and the machine not filling up with water quickly enough.
And your 5C code is about drainage. (Not of the lower field, sadly, Ted and Ralph.)
May also cause the door to not unlock or for the machine to not go into its final spin.
If you get a 5C then try the following:
A video giving some steps on how to clean the drain pump filter (incuding the tip to have a shallow dish and towel prepared to clean up accidental spills - not that I've ever had any spillage related incidents when it comes to washing machines of course... 🙄😉):