how do locks work interesting gif

how do locks work interesting gif