corrected lock out code