Electronic – What connectors are these and how to disconnect them

connector

I am having difficulty disconnecting two different connector-types and I am hoping someone can help me either specify which type of connectors this is or just simply how to disconnect them.

Thank you so much in advance for any help, se pictures below:
enter image description here

enter image description here

Best Answer

Do not just pull. there are little latches that hold them in place. you need to make sure these are released either with a small flat screwdriver or the right pressure on the housing then pull. enter image description here