A. Go to your iPhone's Settings app. Scroll down and tap on 'Display & Brightness'. Look for 'Auto-Lock' and set it to a longer duration (e.g., 5 minutes) to reduce the frequency of screen locks. This won't delay the lock itself but will give you more time before it locks automatically.
B. In the same Settings app, navigate to 'Face ID & Passcode' or 'Touch ID & Passcode'. Ensure that 'Require Passcode' is set to 'Immediately' or a longer duration that suits your needs.