Underwater vehicle with an airlock system for locking out at least one diver underwater, wherein the lock system comprises - a lock for locking out the diver or at least one diver, - a first fluid connection (11, 12) and - a first flow rate setting unit (V2, V3), wherein a fluid can be directed through the first fluid connection into the lock, wherein the first flow rate setting unit (V2, V3) is configured to set the flow rate of fluid through the first fluid connection (11, 12) into the lock to a predetermined value, the lock system comprieses - a controller (3, 4) and - a fluid pressure sensor, wherein the fluid pressure sensor is configured to measure a variable that correlates with the pressure (P_Ist(t)) of a fluid in the lock, and wherein the controller (3, 4) is configured to control the first flow rate setting unit (V2, V3) in dependence on signals from the fluid pressure sensor with the control aim of increasing the measured fluid pressure (P_Ist(t)) until it is equal to a predetermined or measured or calculated target value (P(t)) for the fluid pressure, characterised in that at least a first and a second pressure curve (P(t)) are stored in a data memory of the controller (3, 4), wherein the two stored pressure curves specify a required time of the increasing fluid pressure in the lock and wherein the two pressure profiles differ with regard to the required rate and/or the acceleration with which the pressure increases in a time interval, wherein a stored pressure-time curve can be selected and wherein the controller (3, 4) is configured to control the first flow rate setting unit (V2, V3) depending on signals from the fluid pressure sensor - with the control objective that the time characteristic of the increasing fluid pressure is equal to the first stored pressure characteristic, or - with the control objective that the time characteristic of the increasing fluid pressure is equal to the second stored pressure characteristic, in order to carry out the lock out as quickly as possible or with as little noise as possible or with as little energy consumption as possible. wherein the lock system comprises - a lock for locking out the diver or at least one diver, - a first fluid connection (11, 12) and - a first flow rate setting unit (V2, V3), - a lock for locking out the diver or at least one diver, - a first fluid connection (11, 12) and - a first flow rate setting unit (V2, V3), wherein a fluid can be directed through the first fluid connection into the lock, wherein the first flow rate setting unit (V2, V3) is configured to set the flow rate of fluid through the first fluid connection (11, 12) into the lock to a predetermined value, the lock system comprieses - a controller (3, 4) and - a fluid pressure sensor, - a controller (3, 4) and - a fluid pressure sensor, wherein the fluid pressure sensor is configured to measure a variable that correlates with the pressure (P_Ist(t)) of a fluid in the lock, and wherein the controller (3, 4) is configured to control the first flow rate setting unit (V2, V3) in dependence on signals from the fluid pressure sensor with the control aim of increasing the measured fluid pressure (P_Ist(t)) until it is equal to a predetermined or measured or calculated target value (P(t)) for the fluid pressure, characterised in that at least a first and a second pressure curve (P(t)) are stored in a data memory of the controller (3, 4), wherein the two stored pressure curves specify a required time of the increasing fluid pressure in the lock and wherein the two pressure profiles differ with regard to the required rate and/or the acceleration with which the pressure increases in a time interval, wherein a stored pressure-time curve can be selected and wherein the controller (3, 4) is configured to control the first flow rate setting unit (V2, V3) depending on signals from the fluid pressure sensor - with the control objective that the time characteristic of the increasing fluid pressure is equal to the first stored pressure characteristic, or - with the control objective that the time characteristic of the increasing fluid pressure is equal to the second stored pressure characteristic, - with the control objective that the time characteristic of the increasing fluid pressure is equal to the first stored pressure characteristic, or - with the control objective that the time characteristic of the increasing fluid pressure is equal to the second stored pressure characteristic, in order to carry out the lock out as quickly as possible or with as little noise as possible or with as little energy consumption as possible.