frame has no .locked property. They are right, use .enabled=false property instead. All controls inside the frame will be disabled.