The following error message "Error 000152: The geodatabase cannot be deleted while users are connected." is returned when running the Delete Schema Geodatabase geoprocessing tool.
The issue is not reproducible in the current release of ArcGIS Pro (version 3.5 onwards). If it is still an issue in the environment, please log another bug.