This fixes bug #8373.  Payperiods can be locked now so that users can't enter time.  Time can still be entered in the administrator panel.  There was also some work for bug #8369.