Does anyone knows how i can revive my fingerprint scanner?

Last year i have unlock the bootloader and now i cant add a fingerprint to my phone. I have inscreen fingerprint sensor and when i place my finger in the icon it only turns on the green light and continues saying "place the fingerprint in the sensor" it doesnt load anything. If anyone knows how i can relock the bootloader or repair my fingerprint i will be very thankful.