Presence warnings
By default, your vehicle alerts you if it detects that passengers or pets are still in the vehicle when you try to lock it. When this happens, your vehicle will not lock and you'll receive a notification in the center display. However, it's possible to lock the vehicle with a passenger inside if you've temporarily allowed occupant locking in the locking settings.
Warning
Volvo recommends that you do not leave people or pets in a locked vehicle.
Some regions have laws prohibiting people or pets being left inside a locked vehicle.