Prime Minister Boris Johnson hopes to ensure that only fully vaccinated students will attend lectures in person or live in university halls.