Mixed up lock and unlock. fixed now.