You can set up the iPhone to lock itself after a specified period of inactivity. Combining Auto-Lock with Passcode ensures that only the authorized user can unlock the device once it has been locked automatically.