change key lock status by real check