FRP or Factory Reset Protection is one of the most common security features that you will find in modern Android smartphones.
To boot into Safe Mode, go to Settings > System > Recovery, and click "Restart Now" under Advanced Startup. After your system restarts, navigate to Troubleshoot > Advanced Options > Startup Settings > ...