Hope someone here could help me with a contact sensor/ lock automation (all doors in 1 automation if possible)

Glad to hear it and thank you for the coffees!

One last thing, please consider marking my post above with the Solution tag (only the topic’s author can select and mark one post in their topic to represent the Solution). It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. This helps users find answers to similar questions.

For more information, refer to guideline 21 in the FAQ.