That is what is referred to as a lunchbox locker or Automatic lockers.
Yes, it can work but you should do some research before installing it.
They are a permanent locker that's constantly working. It is not daily-driver friendly unless you're willing to put up with the mannerisms. They can POP and BANG while driving to release torque that builds up in the diff. They give the truck a different driving characteristic (aceleration, turning, etc) and you have to be careful driving in snow/wet.
Do not install one of these in the front diff.
Scroll down to Automatic Lockers:
Although an ARB is the most expensive, it's the BEST for all around purposes of daily driving & offroading.