Fix lock type in PAWN