How could I allow to save a record just when ...

How could I allow to save a record just when a virtual column has an specific value?

Put a valid_if in the key column or other column such as[VC] = “Value”

@Bellave_Jayaram Thanks!!