Hi! The built-in camera does not natively support QA code scanning, even if the "Barcode" appears.
More likely you need to get a dedicated QR code scanner like QR scanner or QR code for windows 10/11 which can be found in Microsoft store (these are free apps)