Can you add barcodes to your records that once scanned will pull corresponding record?

Can you add barcodes to your records that once scanned will pull corresponding record?

I want to upload a barcode to each record that I entered, that once the barcode is scanned it will pull up the record corresponding to unique barcode number. Also, once the record is pulled up, it will not allow that barcode number to be scanned multiple times.