The Unlocking Charm is Alohomora, a spell for opening certain locks on objects. The official Harry Potter encyclopedia says it works on most basic doors and windows, while protective charms can block it. Hermione demonstrates its usefulness in her first year, but opening a door leads her, Harry, and Ron to Fluffy. This established route is retained for the charm’s common name; the Alohomora page provides the detailed incantation entry, limits, and story examples.
The official reference describes Alohomora as a spell used to open locks on objects. It says most basic doors and windows can be unlocked with it, but also notes that charms placed on locks can block it. The stated purpose is to unlock certain locks, not every lock. This makes the Unlocking Charm useful without making it a universal answer to magical security.
The source identifies Alohomora as the incantation and classifies the magic as a charm. It does not explain how the spell interacts with every kind of locking mechanism or name all protective spells that can resist it. Nor does opening a door establish that what lies beyond is safe. The limits in this entry follow the official description: some ordinary barriers yield, while enchanted locks may require another approach.
In the first-year incident described by the official encyclopedia, Hermione uses Alohomora to open a locked door and leads Harry and Ron face-to-face with Fluffy. The scene demonstrates the charm’s basic function and an unintended consequence: removing a barrier can expose the characters to a danger on the other side. The spell solves the immediate problem of a locked door, but does not resolve what the group finds after entering.
The encyclopedia lists the charm across the books and films, including Philosopher’s Stone, Prisoner of Azkaban, Order of the Phoenix, Half-Blood Prince, and Deathly Hallows. These appearances support its recurring role as an unlocking spell, while the blocked-lock example prevents overgeneralizing its capability.