Yes, that is correct. Problem is, both for M211 and M210. The "Release all brakes" code is M212, which is probably given when you press unlock.
Try to verify wether it's M210 or M211 that is the problem, they require opposite solutions. Try putting it into C axis mode and then in MDI run M211...