In Google Sheets how do I protect the rows in Column A which are odd from any kind of edits?

I would like to use this function

```
=ISODD(ROW(A1))

```

Protected sheets and ranges gives you this by default

```
Sheet1!A1

```

I can do this

```
Sheet1!A1:A1000

```

which will protect all 1000 rows but how do I use functions in that so I can only use ODD rows.

Here is a picture of that feature:

![ODD rows](https://i.stack.imgur.com/ocKai.png)