To access the test screen on a Samsung phone, including the A21S or S21, you can open the phone dialer and enter specific codes. Once in the test screen, you can explore various hardware test options to diagnose any potential problems with your device.