Can someone share some inside how to lock grid editor rows?

Thank you