Don't worry about your knees. They will do what they are supposed to. Just keep your hips high, which you did on rep 1 only. You should feel tightness in your hamstrings, and the bar should not be rolling away from you at all.