When I turn the key motor is blocked and does not react on throttle.
If the motor is difficult to turn when the power is turned on, but turns easily when the power is off, it sounds like a fault on the braking circuit
(perhaps one of the brake switches is shorted internally or the signal wire inside the harness is shorted to ground somewhere).
Unplug the 8 pin connector from the motor harness and see if the wheel is still difficult to turn when the power is turned on.
If the motor now turns easily, you might want to try
a simple test to see if it runs.
If the motor runs when you try the simple test in the above link, the problem is either the main harness or the brake switches. If the wheel is still stiff to turn with both of the brake switches unplugged, but turns easily when the 8 pin connector is disconnected, it will be a faulty main wiring harness.
Could I some how check separately motor and controler?
Checking the motor is probably easier to do with the controller connected, as the most likely component to fail on the motor itself is a hall sensor, which can only be checked while it is being supplied with a 5V feed from the powered up controller.
The motor's phase windings can be checked for continuity if necessary by disconnecting the three phase wires from the controller and then shorting any two of the three phase wires together and then trying to turn the motor. If the phase wires are intact, you will find that a large amount of force is required to turn the wheel. This force should be the same for each combination of phase wires shorted together:
Green to Yellow
Green to Blue
Blue to Yellow
If the motor is stiff and "lumpy" to turn with the controller still connected to the motor
(but unplugged from the battery) it is most likely to be a failed controller. In which case, disconnecting the phase wires from the controller
(ensuring the ends of the phase wires are not touching each other) should instantly allow the wheel to turn freely again, clearly indicating that the controller is faulty.
Alan