Remove both chains. See if the SPROCKETS can turn on the shaft.
The sprockets should be locked to the shaft with a key and a set screw.
A key is a little square piece of metal similar to a piece of shredded cheese. It should be in a slot in the shaft and a slot in the pulley.
A set screw is a little threaded bolt in the sprocket that holds the key in place.
View attachment 312842