After finishing the lessons, shy Hermione Granger got intimate with Harry Potter in a steamy scene