Electrical help needed!

Recently my lock button on the drivers side has stopped working but yesterday It decided to work again but now my passenger side headlight/sidelight has stopped working

could this be to do with the relays and has anybody got a relay diagram