I think you may be confused here.Underclock is executed only when you lock the phone not while using it.My reasoning is that you don't need a speedy phone if its just gonna be sitting idle.When stock or ideal is selected it would prevent the overclock script from executing.Underclock will always execute when device gets locked.