Do I need to provide access to the rear garden if I build a side extension to the boundary?

There is no requirement that requires you to maintain external access to your garden. You will need to ensure you are able to build the side extension solely from your land; your neighbour has no legal obligation to grant you access. You will need to serve a party wall notice to your neighbour if you are within 3m/6m to boundary.