The income that the lodger pays you in rent is disregarded for Universal Credit purposes. But it may well have an effect on your Council Tax. You can do a simulation using a Benefits calculator such as Entitledto.co.uk
Let us know how you get on. David
Nothing on this board constitutes legal advice - always consult a professional about specific problems