rfkill: Use mutex_lock() at register and add sanity check