remove the panel from the boot then when you lock/unlock the car see if the motor attempts to move.
To manually lock the boot pull down on the metal rod then retry to unlock your car, I found the motor started to glow and smoke when trying to lock/unlock. Got a second hand lock off here and replaced the motor, job done and avoided a small electrical fire in the process.