управлять обычными dm-crypt и зашифрованными томами LUKS (manage plain dm-crypt and LUKS encrypted volumes)
LUKS2 header locking
The LUKS2 on-disk metadata is updated in several steps and to
achieve proper atomic update, there is a locking mechanism. For
an image in file, code uses flock(2) system call. For a block
device, lock is performed over a special file stored in a locking
directory (by default /run/lock/cryptsetup). The locking
directory should be created with the proper security context by
the distribution during the boot-up phase. Only LUKS2 uses
locks, other formats do not use this mechanism.