sm-g928f passcode and finger print

hello is there any solution to remove the finger print and the code for my sm-g928f without lose data and thanks for helping