Here are the steps to delete photos from your iPhone but not iCloud:
1. Open the Photos app on your iPhone.
2. Tap "Select" on the top right corner of the screen.
3. Select the photos you want to delete.
4. Tap the trash can icon on the bottom right corner of the screen.
5. Tap "Delete X Photos" (X being the number of photos you selected).
That's it! Your photos will be deleted from your iPhone but not iCloud.