Unfortunately this will need resetting. Follow these steps and you should be good to go. Please give me an upvote if this helps👍
# Power off your OnePlus phone
# Press and hold the VOLUME DOWN and POWER buttons until the OnePlus logo AND a pattern dot screen appears
# Select FORGOT PASSWORD
# A data loss warning will appear on the screen; select OK and confirm your selection