The answer is No. Even if you’ve allowed the camera access on the locked iPhone, no one can access Photos without entering the passcode or face ID/Touch ID. This feature aims to protect your privacy and security.