How to get rid of "some values driven by canvas." in Rect Transform?

How do I fix it?

Anchor it to a point and not an area

I can’t modify the values

Had this same problem too.

If you scroll down, there should be a Canvas component. If you change Render Mode to World Space you should be able to modify them.