What a mortise lock is, and why it is different
A mortise lock is the heavy, full-bodied lock case set into a pocket cut in the edge of the door: Schlage L9000, Sargent 8200, Yale 8800, Corbin Russwin ML2000 and their cousins. You find them on commercial doors and on pre-1970s Vancouver houses and apartment blocks.
Mechanically the cylinder is an ordinary pin tumbler and it rekeys the same way. The difference is access. On a modern bored lock the cylinder comes out with the lockset; on a mortise lock the cylinder is threaded into the case and held by a set-screw in the door edge, so it has to be unscrewed out before you can touch the pins, and screwed back with the cam in the right orientation or the lock will not operate at all.
The cylinder thread is the other thing to know: 1 inch or 1 1/8 inch diameter, typically 32 threads per inch. Get that wrong when buying a replacement and nothing will seat.