Answer
Go to Settings > Apps > Google Photos > Storage Tab and then deny access to the storage located at the bottom.
Delete Photos From Google Photos But Keep on Device | How to Delete Google Photos
How to Delete Photos from Google Account
Go to your device’s settings menu, then choose apps, Google Photos, and select the storage option. After that, deny access to the storage at the bottom. You may delete pictures without removing them from your phone using this method.
If you delete photos from the Google Photos app that have been synchronized to your device, they will be removed from all of these locations – your phone, the Google Photos app, the Google Photos website, and any file manager software on your computer. Even if you’ve activated the Backup & Sync option and whether you’re using an Android or iPhone, this will occur.
Open the Google Photos app on your Android smartphone or tablet. connect to your Google Account. tap and hold a picture or video you want to delete. You may select many objects at once. Tap Delete at the top.
Open the Google Photos app on your Android or iOS device. Select “Use without an account” from the drop-down menu next to your current account profile.
Open the Google Photos app on your Android device or tablet. Tap Sharing in the bottom right corner. Select an album from the drop-downs. In the upper right corner, tap More Options to display additional options. Collaborate should be turned off.)