Assuming the bitting is the same and the locks were just removed and turned upside down, the problem you are having is due to one or more collapsed springs.
Try this:
Insert key, use a rubber hammer or screwdriver and tap the handle underneath while applying turning pressure.
If the lock opens, that's your problem. If not...there could be other issues at hand. Also try a generous application of a spray lubricant (not a powder)