Lock an entity from easily changing from dashboard

There is a confirm action available for each entity in an entities card:

Screenshot 2022-06-06 at 15-40-08 Actions

Not sure but I think you would have to disable the header toggle for the card.

Alternatively there is this third party solution: