You need to ring the bells in front of the church to get in.
I am not 100% sure it's the same solution each time but for me it was to ring bells 1, 4, 2, 3, 4 from left.
You can see the notes in the right side wall of the church. The leftmost bell is the lowest note and the rightmost bell is the high note.