Docker mount nfs with local_lock=all

I have docker-compose.yml file

    volumes:
      nfs:
          driver: local
          driver_opts:
            type: nfs
            o: addr=192.168.100.1,rw
            device: ":/mnt/storage"

my container have mounted volume with options:

type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.100.1,mountvers=3,mountproto=tcp,local_lock=none,addr=192.168.100.1)

with local_lock=none and i can’t change this option to local_lock=all
I tried:

volumes:
  nfs:
      driver: local
      driver_opts:
        type: nfs
        o: addr=192.168.100.1,rw,local_lock=all
        device: ":/mnt/storage"

and

volumes:
  nfs:
      driver: local
      driver_opts:
        type: nfs
        o: addr=192.168.100.1,rw
        device: ":/mnt/storage"
        local_lock: all

but nothing changes