Locks or unlocks the code editor for a room. When locked, all connected clients receive a read-only flag via Yjs awareness, preventing further edits. Used during code review phases or when the interviewer wants to freeze the editor.Locking is idempotent: locking an already-locked editor returns success without error.