In the book, Hermione used “Alohamora” to open the window to get Sirius.
In the movie she uses “Bombarda.”