How can I restrict individual compensation allocation Edit and Delete actions for a certain period?

Use the Action Date attribute. For example, edit shouldn't be available between Apr 20 and 30.

When you change the effective date while opening the page or in a when section, the rules behave as if the action date is the new date.