each branch split to form an increasing number of branches until the thinnest ones curled around the golden knob , pulling the doors shut and fastening the knob firmlytrapping grimdin and steven inside the castle grounds .