The spell used to unlock doors in the Harry Potter series is "Alohomora." This spell is often used by characters to open locked doors or windows without the need for a key.