Question: how to delete photos from icloud but keep on computer?
Answer: For the laptop, move your photos to a separate folder, desktop for easily finding it, then delete them from iCloud. On your phone, just upload the photos to your laptop and delete them from the phone, then turn off photos in iCloud.