Random thoughts…
Students (actually most people) have a short attention span when in a lecture. That means you need to shift how you present as the lecture goes on. Slides and talking at students will turn them into passive learning mode and it is easy to switch off, so have some interactive bits which force them to think. Ask questions. If you don’t get an answer either pick someone to answer or give clues until they all know the answer. Once you’ve had someone answer a question, get their name, and for the next question ask them to pick the person who should answer it.
A short video also helps keep attention as it moves the focus from you to the screen.
Don’t have too much writing on your slides. Add images with writing as these are easier to remember. Start with an introduction where you give the structure of the lecture, and signpost as you go along (e.g. recap the previous section and say where you’re going next). Don’t make the slides your lecture notes.
Lectures, whether you like it or not, are a performance (hence lecture theatre) and it is much easier to be yourself than to take on the character of a lecturer. The best advice i got when i started lecturing was to be yourself +10%. You enthusiasm for a topic will transfer to the students, but if they aren’t convinced you know what you’re talking about they’ll switch off.
Last and no means least, lecturers who treat a lecture as a conversation/dialogue are always better than those who stick to their pre-determined script/plan. Read the body language of the audience and adapt.