When a space is locked, don't allow it to be changed. Updated tests.