Make param.locked a read-only property