How to ensure your photos are not shared between devices with the same Apple ID
Access the general settings on the capture device and select the 'Photos' tab.
Proceed to turn off iCould Photos, My Photo Stream, and Shared Albums options to ensure the photos being taken with the same Apple ID are not shared between two different devices.