lock out check

added lockout check