@Transactional
    public void lock(String uuid, long id) {
        Meeting meeting = meetingRepository.findByUuid(uuid)
                .orElseThrow(() -> new MomoException(MeetingErrorCode.NOT_FOUND_MEETING));
        Attendee attendee = attendeeRepository.findByIdAndMeeting(id, meeting)
                .orElseThrow(() -> new MomoException(AttendeeErrorCode.NOT_FOUND_ATTENDEE));
        validateHostPermission(attendee);
        meeting.lock();
    }
@DisplayName("약속을 잠그면 잠금 상태가 변경된다.")
    @Test
    void lock() {
        Meeting meeting = meetingRepository.save(MeetingFixture.GAME.create());
        Attendee attendee = attendeeRepository.save(AttendeeFixture.HOST_JAZZ.create(meeting));

        meetingService.lock(meeting.getUuid(), attendee.getId());
        Meeting changedMeeting = meetingRepository.findById(meeting.getId()).orElseThrow();

        assertThat(changedMeeting.isLocked()).isTrue();
    }