Question: iphone xs does not auto lock?
Answer: It is possible that Auto-Lock is set to Never. Go to Settings > Display & Brightness > Auto-Lock and set the timer (except Never). Turn off Passcode by going to Settings > Touch ID & Passcode (your will be asked to enter your passcode) > and tap Turn Passcode Off. Then restart your device and turn Passcode back on.