The error is probably related to over lapping collision boxes. If you lock a sprite with physics in place and there is overlap in the collision boxes it will throw an error every time.
So.....
You either need to leave blocks unlocked so their natural physics works which probably has sprites jumping around or turn off physics and lock them in place.