MPs rarely vote according to their constituents' wishes. Stephen Lloyd did and then lost his seat.
Rarely do the government allow a 'free vote'. I know capital punishment ie hanging was one.
Electronic voting should be the method in modern times, but it renders the whips redundant because it becomes anonymous.
Whips are worried about rebellious MPs.